public final class HashingStrategies
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <T> com.gs.collections.api.block.HashingStrategy<T> |
chain(com.gs.collections.api.block.HashingStrategy<T>... hashingStrategies) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
defaultStrategy() |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromBooleanFunction(com.gs.collections.api.block.function.primitive.BooleanFunction<? super T> function) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromByteFunction(com.gs.collections.api.block.function.primitive.ByteFunction<? super T> function) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromCharFunction(com.gs.collections.api.block.function.primitive.CharFunction<? super T> function) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromDoubleFunction(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromFloatFunction(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function) |
static <T,V> com.gs.collections.api.block.HashingStrategy<T> |
fromFunction(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
static <T,V1,V2> com.gs.collections.api.block.HashingStrategy<T> |
fromFunctions(com.gs.collections.api.block.function.Function<? super T,? extends V1> one,
com.gs.collections.api.block.function.Function<? super T,? extends V2> two) |
static <T,V1,V2,V3> |
fromFunctions(com.gs.collections.api.block.function.Function<? super T,? extends V1> one,
com.gs.collections.api.block.function.Function<? super T,? extends V2> two,
com.gs.collections.api.block.function.Function<? super T,? extends V3> three) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromIntFunction(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromLongFunction(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function) |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
fromShortFunction(com.gs.collections.api.block.function.primitive.ShortFunction<? super T> function) |
static com.gs.collections.api.block.HashingStrategy<java.lang.Object> |
identityStrategy() |
static <T> com.gs.collections.api.block.HashingStrategy<T> |
nullSafeHashingStrategy(com.gs.collections.api.block.HashingStrategy<T> nonNullSafeStrategy) |
public static <T> com.gs.collections.api.block.HashingStrategy<T> defaultStrategy()
public static <T> com.gs.collections.api.block.HashingStrategy<T> nullSafeHashingStrategy(com.gs.collections.api.block.HashingStrategy<T> nonNullSafeStrategy)
public static <T,V> com.gs.collections.api.block.HashingStrategy<T> fromFunction(com.gs.collections.api.block.function.Function<? super T,? extends V> function)
public static com.gs.collections.api.block.HashingStrategy<java.lang.Object> identityStrategy()
public static <T> com.gs.collections.api.block.HashingStrategy<T> chain(com.gs.collections.api.block.HashingStrategy<T>... hashingStrategies)
public static <T,V1,V2> com.gs.collections.api.block.HashingStrategy<T> fromFunctions(com.gs.collections.api.block.function.Function<? super T,? extends V1> one,
com.gs.collections.api.block.function.Function<? super T,? extends V2> two)
public static <T,V1,V2,V3> com.gs.collections.api.block.HashingStrategy<T> fromFunctions(com.gs.collections.api.block.function.Function<? super T,? extends V1> one,
com.gs.collections.api.block.function.Function<? super T,? extends V2> two,
com.gs.collections.api.block.function.Function<? super T,? extends V3> three)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromBooleanFunction(com.gs.collections.api.block.function.primitive.BooleanFunction<? super T> function)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromByteFunction(com.gs.collections.api.block.function.primitive.ByteFunction<? super T> function)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromCharFunction(com.gs.collections.api.block.function.primitive.CharFunction<? super T> function)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromDoubleFunction(com.gs.collections.api.block.function.primitive.DoubleFunction<? super T> function)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromFloatFunction(com.gs.collections.api.block.function.primitive.FloatFunction<? super T> function)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromIntFunction(com.gs.collections.api.block.function.primitive.IntFunction<? super T> function)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromLongFunction(com.gs.collections.api.block.function.primitive.LongFunction<? super T> function)
public static <T> com.gs.collections.api.block.HashingStrategy<T> fromShortFunction(com.gs.collections.api.block.function.primitive.ShortFunction<? super T> function)