public final class HashingStrategies
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
static <T> HashingStrategy<T> |
chain(HashingStrategy<T>... hashingStrategies) |
|
static <T> HashingStrategy<T> |
defaultStrategy() |
|
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> |
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<java.lang.Object> |
identityStrategy() |
|
static <T,V> HashingStrategy<T> |
nullSafeFromFunction(Function<? super T,? extends V> function) |
|
static <T> HashingStrategy<T> |
nullSafeHashingStrategy(HashingStrategy<T> nonNullSafeStrategy) |
public static <T> HashingStrategy<T> defaultStrategy()
public static <T> HashingStrategy<T> nullSafeHashingStrategy(HashingStrategy<T> nonNullSafeStrategy)
public static <T,V> HashingStrategy<T> nullSafeFromFunction(Function<? super T,? extends V> function)
public static <T,V> HashingStrategy<T> fromFunction(Function<? super T,? extends V> function)
public static HashingStrategy<java.lang.Object> identityStrategy()
public static <T> HashingStrategy<T> chain(HashingStrategy<T>... hashingStrategies)
public static <T,V1,V2> HashingStrategy<T> fromFunctions(Function<? super T,? extends V1> one, Function<? super T,? extends V2> two)
public 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)
public static <T> HashingStrategy<T> fromBooleanFunction(BooleanFunction<? super T> function)
public static <T> HashingStrategy<T> fromByteFunction(ByteFunction<? super T> function)
public static <T> HashingStrategy<T> fromCharFunction(CharFunction<? super T> function)
public static <T> HashingStrategy<T> fromDoubleFunction(DoubleFunction<? super T> function)
public static <T> HashingStrategy<T> fromFloatFunction(FloatFunction<? super T> function)
public static <T> HashingStrategy<T> fromIntFunction(IntFunction<? super T> function)
public static <T> HashingStrategy<T> fromLongFunction(LongFunction<? super T> function)
public static <T> HashingStrategy<T> fromShortFunction(ShortFunction<? super T> function)
Copyright © 2004–2018. All rights reserved.