Package org.teamapps.ux.cache.record
Class EqualsAndHashCode<T>
- java.lang.Object
-
- org.teamapps.ux.cache.record.EqualsAndHashCode<T>
-
public class EqualsAndHashCode<T> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EqualsAndHashCode(java.util.function.BiPredicate<T,java.lang.Object> equals, it.unimi.dsi.fastutil.objects.Object2IntFunction<T> hashCode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> EqualsAndHashCode<T>bypass()java.util.function.BiPredicate<T,java.lang.Object>getEquals()it.unimi.dsi.fastutil.objects.Object2IntFunction<T>getHashCode()static <T> EqualsAndHashCode<T>identity()
-
-
-
Method Detail
-
bypass
public static <T> EqualsAndHashCode<T> bypass()
-
identity
public static <T> EqualsAndHashCode<T> identity()
-
getEquals
public java.util.function.BiPredicate<T,java.lang.Object> getEquals()
-
getHashCode
public it.unimi.dsi.fastutil.objects.Object2IntFunction<T> getHashCode()
-
-