Package | Description |
---|---|
com.gs.collections.api.factory.map.strategy |
This package contains factory API for creating instances of maps with user defined
HashingStrategy s. |
com.gs.collections.api.factory.set.strategy |
This package contains Factory API for
ImmutableHashingStrategySetFactory and MutableHashingStrategySetFactory . |
com.gs.collections.impl.block.factory |
This package contains factory implementations for
Function , Predicate , SerializableComparator and Procedure . |
com.gs.collections.impl.map.strategy.immutable |
This package contains immutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
com.gs.collections.impl.map.strategy.mutable |
This package contains mutable map implementations backed by hashtables that rely on
HashingStrategy s provided by
the developer to compute the hashCode and equals for the objects stored in the map. |
com.gs.collections.impl.multimap.set.strategy |
This package contains implementations of the
SetMultimap interface which use a set with user-defined HashingStrategy as their underlying store for the multiple values of a given key. |
com.gs.collections.impl.partition.set.strategy |
This package contains implementations of the
PartitionMutableSet interface. |
com.gs.collections.impl.set.strategy.immutable |
This package contains implementations of immutable sets with user defined
HashingStrategy s. |
com.gs.collections.impl.set.strategy.mutable |
This package contains implementations of sets with user defined
HashingStrategy s. |
Modifier and Type | Method and Description |
---|---|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy)
|
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy)
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key,
V value)
|
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key,
V value)
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2)
|
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2)
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3)
|
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3)
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4)
|
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4)
|
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactory.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
Modifier and Type | Method and Description |
---|---|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy)
|
<T> MutableSet<T> |
MutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy)
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy,
T... items)
|
<T> MutableSet<T> |
MutableHashingStrategySetFactory.of(HashingStrategy<? super T> hashingStrategy,
T... items)
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items)
|
<T> MutableSet<T> |
MutableHashingStrategySetFactory.ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items)
|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy) |
<T> MutableSet<T> |
MutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> MutableSet<T> |
MutableHashingStrategySetFactory.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactory.withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
<T> MutableSet<T> |
MutableHashingStrategySetFactory.withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
Modifier and Type | Method and Description |
---|---|
static <T> HashingStrategy<T> |
HashingStrategies.chain(HashingStrategy<T>... hashingStrategies) |
static <T> HashingStrategy<T> |
HashingStrategies.defaultStrategy() |
static <T> HashingStrategy<T> |
HashingStrategies.fromBooleanFunction(BooleanFunction<? super T> function) |
static <T> HashingStrategy<T> |
HashingStrategies.fromByteFunction(ByteFunction<? super T> function) |
static <T> HashingStrategy<T> |
HashingStrategies.fromCharFunction(CharFunction<? super T> function) |
static <T> HashingStrategy<T> |
HashingStrategies.fromDoubleFunction(DoubleFunction<? super T> function) |
static <T> HashingStrategy<T> |
HashingStrategies.fromFloatFunction(FloatFunction<? super T> function) |
static <T,V> HashingStrategy<T> |
HashingStrategies.fromFunction(Function<? super T,? extends V> function) |
static <T,V1,V2> HashingStrategy<T> |
HashingStrategies.fromFunctions(Function<? super T,? extends V1> one,
Function<? super T,? extends V2> two) |
static <T,V1,V2,V3> |
HashingStrategies.fromFunctions(Function<? super T,? extends V1> one,
Function<? super T,? extends V2> two,
Function<? super T,? extends V3> three) |
static <T> HashingStrategy<T> |
HashingStrategies.fromIntFunction(IntFunction<? super T> function) |
static <T> HashingStrategy<T> |
HashingStrategies.fromLongFunction(LongFunction<? super T> function) |
static <T> HashingStrategy<T> |
HashingStrategies.fromShortFunction(ShortFunction<? super T> function) |
static HashingStrategy<Object> |
HashingStrategies.identityStrategy() |
static <T> HashingStrategy<T> |
HashingStrategies.nullSafeHashingStrategy(HashingStrategy<T> nonNullSafeStrategy) |
Modifier and Type | Method and Description |
---|---|
static <T> HashingStrategy<T> |
HashingStrategies.chain(HashingStrategy<T>... hashingStrategies) |
static <T> HashingStrategy<T> |
HashingStrategies.nullSafeHashingStrategy(HashingStrategy<T> nonNullSafeStrategy) |
Modifier and Type | Method and Description |
---|---|
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
static <T1,T2> ImmutableEntryWithHashingStrategy<T1,T2> |
ImmutableEntryWithHashingStrategy.of(T1 key,
T2 value,
HashingStrategy<? super T1> hashingStrategy) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> ImmutableMap<K,V> |
ImmutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
Constructor and Description |
---|
ImmutableEntryWithHashingStrategy(K key,
V value,
HashingStrategy<? super K> hashingStrategy) |
ImmutableUnifiedMapWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
Pair<K,V>... pairs) |
Modifier and Type | Method and Description |
---|---|
HashingStrategy<? super K> |
UnifiedMapWithHashingStrategy.hashingStrategy() |
Modifier and Type | Method and Description |
---|---|
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newMap(HashingStrategy<? super K> hashingStrategy) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newMap(HashingStrategy<? super K> hashingStrategy,
int size) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newMap(HashingStrategy<? super K> hashingStrategy,
int size,
float loadFactor) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newMap(HashingStrategy<? super K> hashingStrategy,
Map<? extends K,? extends V> map) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newMapWith(HashingStrategy<? super K> hashingStrategy,
Pair<K,V>... pairs) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newWithKeysValues(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newWithKeysValues(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newWithKeysValues(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
static <K,V> UnifiedMapWithHashingStrategy<K,V> |
UnifiedMapWithHashingStrategy.newWithKeysValues(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.of(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key,
V value) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
<K,V> MutableMap<K,V> |
MutableHashingStrategyMapFactoryImpl.with(HashingStrategy<? super K> hashingStrategy,
K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
Constructor and Description |
---|
UnifiedMapWithHashingStrategy(HashingStrategy<? super K> hashingStrategy) |
UnifiedMapWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
int initialCapacity) |
UnifiedMapWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
int initialCapacity,
float loadFactor) |
UnifiedMapWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
Map<? extends K,? extends V> map) |
UnifiedMapWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
Pair<K,V>... pairs) |
Modifier and Type | Method and Description |
---|---|
HashingStrategy<? super V> |
UnifiedSetWithHashingStrategyMultimap.getValueHashingStrategy() |
Modifier and Type | Method and Description |
---|---|
static <K,V> UnifiedSetWithHashingStrategyMultimap<K,V> |
UnifiedSetWithHashingStrategyMultimap.newMultimap(HashingStrategy<? super V> hashingStrategy) |
static <K,V> UnifiedSetWithHashingStrategyMultimap<K,V> |
UnifiedSetWithHashingStrategyMultimap.newMultimap(HashingStrategy<? super V> hashingStrategy,
Multimap<? extends K,? extends V> multimap) |
static <K,V> UnifiedSetWithHashingStrategyMultimap<K,V> |
UnifiedSetWithHashingStrategyMultimap.newMultimap(HashingStrategy<? super V> hashingStrategy,
Pair<K,V>... pairs) |
Constructor and Description |
---|
UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy) |
UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy,
Multimap<? extends K,? extends V> multimap) |
UnifiedSetWithHashingStrategyMultimap(HashingStrategy<? super V> hashingStrategy,
Pair<K,V>... pairs) |
Constructor and Description |
---|
PartitionUnifiedSetWithHashingStrategy(HashingStrategy<? super T> hashingStrategy) |
Modifier and Type | Method and Description |
---|---|
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.of(HashingStrategy<? super T> hashingStrategy) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.of(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.with(HashingStrategy<? super T> hashingStrategy) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> ImmutableSet<T> |
ImmutableHashingStrategySetFactoryImpl.withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
Modifier and Type | Method and Description |
---|---|
HashingStrategy<? super K> |
UnifiedSetWithHashingStrategy.hashingStrategy() |
Modifier and Type | Method and Description |
---|---|
static <K> UnifiedSetWithHashingStrategy<K> |
UnifiedSetWithHashingStrategy.newSet(HashingStrategy<? super K> hashingStrategy) |
static <K> UnifiedSetWithHashingStrategy<K> |
UnifiedSetWithHashingStrategy.newSet(HashingStrategy<? super K> hashingStrategy,
int size) |
static <K> UnifiedSetWithHashingStrategy<K> |
UnifiedSetWithHashingStrategy.newSet(HashingStrategy<? super K> hashingStrategy,
int size,
float loadFactor) |
static <K> UnifiedSetWithHashingStrategy<K> |
UnifiedSetWithHashingStrategy.newSet(HashingStrategy<? super K> hashingStrategy,
Iterable<? extends K> source) |
static <K> UnifiedSetWithHashingStrategy<K> |
UnifiedSetWithHashingStrategy.newSetWith(HashingStrategy<? super K> hashingStrategy,
K... elements) |
<T> MutableSet<T> |
MutableHashingStrategySetFactoryImpl.of(HashingStrategy<? super T> hashingStrategy) |
<T> MutableSet<T> |
MutableHashingStrategySetFactoryImpl.of(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> MutableSet<T> |
MutableHashingStrategySetFactoryImpl.ofAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
<T> MutableSet<T> |
MutableHashingStrategySetFactoryImpl.with(HashingStrategy<? super T> hashingStrategy) |
<T> MutableSet<T> |
MutableHashingStrategySetFactoryImpl.with(HashingStrategy<? super T> hashingStrategy,
T... items) |
<T> MutableSet<T> |
MutableHashingStrategySetFactoryImpl.withAll(HashingStrategy<? super T> hashingStrategy,
Iterable<? extends T> items) |
Constructor and Description |
---|
UnifiedSetWithHashingStrategy(HashingStrategy<? super K> hashingStrategy) |
UnifiedSetWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
Collection<? extends K> collection) |
UnifiedSetWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
int initialCapacity) |
UnifiedSetWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
int initialCapacity,
float loadFactor) |
UnifiedSetWithHashingStrategy(HashingStrategy<? super K> hashingStrategy,
UnifiedSetWithHashingStrategy<K> set) |
Copyright © 2004–2018. All rights reserved.