Class HObject
- java.lang.Object
-
- com.g2forge.alexandria.java.core.helpers.HObject
-
public final class HObject extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
HASHPRIME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> boolean
equals(boolean type, T _this, Object obj, Function<? super T,?>... accessors)
static <T> int
hashCode(T _this, Function<? super T,?>... accessors)
static <T> String
toString(T _this, Object value)
static <T> String
toString(T _this, Consumer<StringBuilder> consumer)
static <T> String
toString(T _this, Function<? super T,?>... accessors)
-
-
-
Field Detail
-
HASHPRIME
public static final int HASHPRIME
- See Also:
- Constant Field Values
-
-
Method Detail
-
equals
@SafeVarargs public static <T> boolean equals(boolean type, T _this, Object obj, Function<? super T,?>... accessors)
-
hashCode
@SafeVarargs public static <T> int hashCode(T _this, Function<? super T,?>... accessors)
-
toString
@SafeVarargs public static <T> String toString(T _this, Function<? super T,?>... accessors)
-
toString
public static <T> String toString(T _this, Consumer<StringBuilder> consumer)
-
-