Class HashingStrategies
java.lang.Object
org.eclipse.collections.impl.block.factory.HashingStrategies
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> HashingStrategy<T>chain(HashingStrategy<T>... hashingStrategies) static <T> HashingStrategy<T>static <T> HashingStrategy<T>fromBooleanFunction(BooleanFunction<? super T> function) static <T> HashingStrategy<T>fromByteFunction(ByteFunction<? super T> function) static <T> HashingStrategy<T>fromCharFunction(CharFunction<? super T> function) static <T> HashingStrategy<T>fromDoubleFunction(DoubleFunction<? super T> function) static <T> HashingStrategy<T>fromFloatFunction(FloatFunction<? super T> function) static <T,V> HashingStrategy<T> fromFunction(Function<? super T, ? extends V> function) static <T,V1, V2> HashingStrategy<T> fromFunctions(Function<? super T, ? extends V1> one, Function<? super T, ? extends V2> two) static <T,V1, V2, V3>
HashingStrategy<T>fromFunctions(Function<? super T, ? extends V1> one, Function<? super T, ? extends V2> two, Function<? super T, ? extends V3> three) static <T> HashingStrategy<T>fromIntFunction(IntFunction<? super T> function) static <T> HashingStrategy<T>fromLongFunction(LongFunction<? super T> function) static <T> HashingStrategy<T>fromShortFunction(ShortFunction<? super T> function) static HashingStrategy<Object>static <T,V> HashingStrategy<T> nullSafeFromFunction(Function<? super T, ? extends V> function) static <T> HashingStrategy<T>nullSafeHashingStrategy(HashingStrategy<T> nonNullSafeStrategy)
-
Method Details
-
defaultStrategy
-
nullSafeHashingStrategy
public static <T> HashingStrategy<T> nullSafeHashingStrategy(HashingStrategy<T> nonNullSafeStrategy) -
nullSafeFromFunction
public static <T,V> HashingStrategy<T> nullSafeFromFunction(Function<? super T, ? extends V> function) -
fromFunction
-
identityStrategy
-
chain
-
fromFunctions
public static <T,V1, HashingStrategy<T> fromFunctionsV2> (Function<? super T, ? extends V1> one, Function<? super T, ? extends V2> two) -
fromFunctions
public static <T,V1, HashingStrategy<T> fromFunctionsV2, V3> (Function<? super T, ? extends V1> one, Function<? super T, ? extends V2> two, Function<? super T, ? extends V3> three) -
fromBooleanFunction
-
fromByteFunction
-
fromCharFunction
-
fromDoubleFunction
-
fromFloatFunction
-
fromIntFunction
-
fromLongFunction
-
fromShortFunction
-