public class HashBiMap<K,V> extends AbstractBiMap<K,V> implements Externalizable
MutableBiMap which uses two hash tables as its underlying data store.| Constructor and Description |
|---|
HashBiMap() |
HashBiMap(int initialSize) |
HashBiMap(Map<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
V |
add(com.gs.collections.api.tuple.Pair<K,V> keyValuePair) |
<K2,V2> com.gs.collections.api.map.MutableMap<K2,V2> |
aggregateBy(com.gs.collections.api.block.function.Function<? super V,? extends K2> groupBy,
com.gs.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
com.gs.collections.api.block.function.Function2<? super V2,? super V,? extends V2> nonMutatingAggregator) |
<K2,V2> com.gs.collections.api.map.MutableMap<K2,V2> |
aggregateInPlaceBy(com.gs.collections.api.block.function.Function<? super V,? extends K2> groupBy,
com.gs.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
com.gs.collections.api.block.procedure.Procedure2<? super V2,? super V> mutatingAggregator) |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
asSynchronized() |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
asUnmodifiable() |
void |
clear() |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
clone() |
<VV> com.gs.collections.api.bag.MutableBag<VV> |
collect(com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
<K2,V2> HashBiMap<K2,V2> |
collect(com.gs.collections.api.block.function.Function2<? super K,? super V,com.gs.collections.api.tuple.Pair<K2,V2>> function) |
com.gs.collections.api.bag.primitive.MutableBooleanBag |
collectBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super V> booleanFunction) |
com.gs.collections.api.bag.primitive.MutableByteBag |
collectByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super V> byteFunction) |
com.gs.collections.api.bag.primitive.MutableCharBag |
collectChar(com.gs.collections.api.block.function.primitive.CharFunction<? super V> charFunction) |
com.gs.collections.api.bag.primitive.MutableDoubleBag |
collectDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super V> doubleFunction) |
com.gs.collections.api.bag.primitive.MutableFloatBag |
collectFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super V> floatFunction) |
<VV> com.gs.collections.api.bag.MutableBag<VV> |
collectIf(com.gs.collections.api.block.predicate.Predicate<? super V> predicate,
com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
com.gs.collections.api.bag.primitive.MutableIntBag |
collectInt(com.gs.collections.api.block.function.primitive.IntFunction<? super V> intFunction) |
com.gs.collections.api.bag.primitive.MutableLongBag |
collectLong(com.gs.collections.api.block.function.primitive.LongFunction<? super V> longFunction) |
com.gs.collections.api.bag.primitive.MutableShortBag |
collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction) |
<R> HashBiMap<K,R> |
collectValues(com.gs.collections.api.block.function.Function2<? super K,? super V,? extends R> function) |
<P,VV> com.gs.collections.api.bag.MutableBag<VV> |
collectWith(com.gs.collections.api.block.function.Function2<? super V,? super P,? extends VV> function,
P parameter) |
Set<Map.Entry<K,V>> |
entrySet() |
<VV> com.gs.collections.api.bag.MutableBag<VV> |
flatCollect(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function) |
com.gs.collections.api.multimap.set.MutableSetMultimap<V,K> |
flip() |
com.gs.collections.api.bimap.MutableBiMap<V,K> |
flipUniqueValues() |
V |
forcePut(K key,
V value) |
void |
forEachValue(com.gs.collections.api.block.procedure.Procedure<? super V> procedure) |
V |
getIfAbsentPut(K key,
com.gs.collections.api.block.function.Function0<? extends V> function) |
V |
getIfAbsentPut(K key,
V value) |
<P> V |
getIfAbsentPutWith(K key,
com.gs.collections.api.block.function.Function<? super P,? extends V> function,
P parameter) |
V |
getIfAbsentPutWithKey(K key,
com.gs.collections.api.block.function.Function<? super K,? extends V> function) |
<VV> com.gs.collections.api.multimap.set.MutableSetMultimap<VV,V> |
groupBy(com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
<VV> com.gs.collections.api.multimap.set.MutableSetMultimap<VV,V> |
groupByEach(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function) |
<VV> com.gs.collections.api.bimap.MutableBiMap<VV,V> |
groupByUniqueKey(com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
com.gs.collections.api.bimap.MutableBiMap<V,K> |
inverse() |
Iterator<V> |
iterator() |
Set<K> |
keySet() |
HashBiMap<K,V> |
newEmpty() |
static <K,V> HashBiMap<K,V> |
newMap() |
static <K,V> HashBiMap<K,V> |
newWithKeysValues(K key,
V value) |
static <K,V> HashBiMap<K,V> |
newWithKeysValues(K key1,
V value1,
K key2,
V value2) |
static <K,V> HashBiMap<K,V> |
newWithKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
static <K,V> HashBiMap<K,V> |
newWithKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
com.gs.collections.api.partition.set.PartitionMutableSet<V> |
partition(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> com.gs.collections.api.partition.set.PartitionMutableSet<V> |
partitionWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> map) |
void |
readExternal(ObjectInput in) |
com.gs.collections.api.set.MutableSet<V> |
reject(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
HashBiMap<K,V> |
reject(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<P> com.gs.collections.api.set.MutableSet<V> |
rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
V |
remove(Object key) |
V |
removeKey(K key) |
com.gs.collections.api.set.MutableSet<V> |
select(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
HashBiMap<K,V> |
select(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<S> com.gs.collections.api.set.MutableSet<S> |
selectInstancesOf(Class<S> clazz) |
<P> com.gs.collections.api.set.MutableSet<V> |
selectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
tap(com.gs.collections.api.block.procedure.Procedure<? super V> procedure) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
toImmutable() |
V |
updateValue(K key,
com.gs.collections.api.block.function.Function0<? extends V> factory,
com.gs.collections.api.block.function.Function<? super V,? extends V> function) |
<P> V |
updateValueWith(K key,
com.gs.collections.api.block.function.Function0<? extends V> factory,
com.gs.collections.api.block.function.Function2<? super V,? super P,? extends V> function,
P parameter) |
Collection<V> |
values() |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
withAllKeyValueArguments(com.gs.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs) |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
withAllKeyValues(Iterable<? extends com.gs.collections.api.tuple.Pair<? extends K,? extends V>> keyValues) |
HashBiMap<K,V> |
withKeysValues(K key,
V value) |
HashBiMap<K,V> |
withKeysValues(K key1,
V value1,
K key2,
V value2) |
HashBiMap<K,V> |
withKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3) |
HashBiMap<K,V> |
withKeysValues(K key1,
V value1,
K key2,
V value2,
K key3,
V value3,
K key4,
V value4) |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
withKeyValue(K key,
V value) |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
withoutAllKeys(Iterable<? extends K> keys) |
com.gs.collections.api.bimap.MutableBiMap<K,V> |
withoutKey(K key) |
void |
writeExternal(ObjectOutput out) |
<S> com.gs.collections.api.set.MutableSet<com.gs.collections.api.tuple.Pair<V,S>> |
zip(Iterable<S> that) |
com.gs.collections.api.set.MutableSet<com.gs.collections.api.tuple.Pair<V,Integer>> |
zipWithIndex() |
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsKey, containsValue, count, countWith, detect, detect, detectIfNone, detectWith, detectWithIfNone, each, equals, flatCollect, forEach, forEachKey, forEachKeyValue, forEachWith, forEachWithIndex, get, getFirst, getIfAbsent, getIfAbsentValue, getIfAbsentWith, getLast, groupBy, groupByEach, groupByUniqueKey, hashCode, ifPresentApply, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, keysView, keyValuesView, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, valuesView, zip, zipWithIndexgetClass, hashCode, notify, notifyAll, wait, wait, waitreadExternal, writeExternalcontainsKey, containsValue, detect, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getIfAbsentValue, getIfAbsentWith, hashCode, ifPresentApply, keysView, keyValuesView, toString, valuesViewallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, each, flatCollect, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexforEach, forEachWith, forEachWithIndexforEach, spliteratorcompute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, forEach, get, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove, replace, replace, replaceAll, sizepublic static <K,V> HashBiMap<K,V> newMap()
public static <K,V> HashBiMap<K,V> newWithKeysValues(K key, V value)
public static <K,V> HashBiMap<K,V> newWithKeysValues(K key1, V value1, K key2, V value2)
public static <K,V> HashBiMap<K,V> newWithKeysValues(K key1, V value1, K key2, V value2, K key3, V value3)
public static <K,V> HashBiMap<K,V> newWithKeysValues(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
public HashBiMap<K,V> withKeysValues(K key1, V value1, K key2, V value2, K key3, V value3)
public HashBiMap<K,V> withKeysValues(K key1, V value1, K key2, V value2, K key3, V value3, K key4, V value4)
public HashBiMap<K,V> newEmpty()
newEmpty in interface com.gs.collections.api.bimap.MutableBiMap<K,V>newEmpty in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> withKeyValue(K key,
V value)
withKeyValue in interface com.gs.collections.api.bimap.MutableBiMap<K,V>withKeyValue in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> withAllKeyValues(Iterable<? extends com.gs.collections.api.tuple.Pair<? extends K,? extends V>> keyValues)
withAllKeyValues in interface com.gs.collections.api.bimap.MutableBiMap<K,V>withAllKeyValues in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> withAllKeyValueArguments(com.gs.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs)
withAllKeyValueArguments in interface com.gs.collections.api.bimap.MutableBiMap<K,V>withAllKeyValueArguments in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> withoutKey(K key)
withoutKey in interface com.gs.collections.api.bimap.MutableBiMap<K,V>withoutKey in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface com.gs.collections.api.bimap.MutableBiMap<K,V>withoutAllKeys in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<V,K> inverse()
inverse in interface com.gs.collections.api.bimap.BiMap<K,V>inverse in interface com.gs.collections.api.bimap.MutableBiMap<K,V>public com.gs.collections.api.multimap.set.MutableSetMultimap<V,K> flip()
flip in interface com.gs.collections.api.bimap.BiMap<K,V>flip in interface com.gs.collections.api.bimap.MutableBiMap<K,V>flip in interface com.gs.collections.api.map.MapIterable<K,V>flip in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<V,K> flipUniqueValues()
flipUniqueValues in interface com.gs.collections.api.bimap.BiMap<K,V>flipUniqueValues in interface com.gs.collections.api.bimap.MutableBiMap<K,V>flipUniqueValues in interface com.gs.collections.api.map.MapIterable<K,V>flipUniqueValues in interface com.gs.collections.api.map.MutableMapIterable<K,V>public V put(K key,
V value)
public V forcePut(K key,
V value)
forcePut in interface com.gs.collections.api.bimap.MutableBiMap<K,V>public void putAll(Map<? extends K,? extends V> map)
public V add(com.gs.collections.api.tuple.Pair<K,V> keyValuePair)
add in interface com.gs.collections.api.map.MutableMapIterable<K,V>public V removeKey(K key)
removeKey in interface com.gs.collections.api.map.MutableMapIterable<K,V>public V getIfAbsentPut(K key,
V value)
getIfAbsentPut in interface com.gs.collections.api.map.MutableMapIterable<K,V>public V getIfAbsentPut(K key,
com.gs.collections.api.block.function.Function0<? extends V> function)
getIfAbsentPut in interface com.gs.collections.api.map.MutableMapIterable<K,V>public <P> V getIfAbsentPutWith(K key,
com.gs.collections.api.block.function.Function<? super P,? extends V> function,
P parameter)
getIfAbsentPutWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>public V getIfAbsentPutWithKey(K key,
com.gs.collections.api.block.function.Function<? super K,? extends V> function)
getIfAbsentPutWithKey in interface com.gs.collections.api.map.MutableMapIterable<K,V>public V updateValue(K key,
com.gs.collections.api.block.function.Function0<? extends V> factory,
com.gs.collections.api.block.function.Function<? super V,? extends V> function)
updateValue in interface com.gs.collections.api.map.MutableMapIterable<K,V>public <P> V updateValueWith(K key,
com.gs.collections.api.block.function.Function0<? extends V> factory,
com.gs.collections.api.block.function.Function2<? super V,? super P,? extends V> function,
P parameter)
updateValueWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>public Collection<V> values()
public com.gs.collections.api.bimap.ImmutableBiMap<K,V> toImmutable()
toImmutable in interface com.gs.collections.api.bimap.BiMap<K,V>toImmutable in interface com.gs.collections.api.map.MapIterable<K,V>toImmutable in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> asSynchronized()
asSynchronized in interface com.gs.collections.api.bimap.MutableBiMap<K,V>asSynchronized in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> asUnmodifiable()
asUnmodifiable in interface com.gs.collections.api.bimap.MutableBiMap<K,V>asUnmodifiable in interface com.gs.collections.api.map.MutableMapIterable<K,V>public com.gs.collections.api.bimap.MutableBiMap<K,V> clone()
public com.gs.collections.api.bimap.MutableBiMap<K,V> tap(com.gs.collections.api.block.procedure.Procedure<? super V> procedure)
tap in interface com.gs.collections.api.bimap.BiMap<K,V>tap in interface com.gs.collections.api.bimap.MutableBiMap<K,V>tap in interface com.gs.collections.api.map.MapIterable<K,V>tap in interface com.gs.collections.api.map.MutableMapIterable<K,V>tap in interface com.gs.collections.api.RichIterable<V>public HashBiMap<K,V> select(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
select in interface com.gs.collections.api.bimap.BiMap<K,V>select in interface com.gs.collections.api.bimap.MutableBiMap<K,V>select in interface com.gs.collections.api.map.MapIterable<K,V>select in interface com.gs.collections.api.map.MutableMapIterable<K,V>public HashBiMap<K,V> reject(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
reject in interface com.gs.collections.api.bimap.BiMap<K,V>reject in interface com.gs.collections.api.bimap.MutableBiMap<K,V>reject in interface com.gs.collections.api.map.MapIterable<K,V>reject in interface com.gs.collections.api.map.MutableMapIterable<K,V>public <K2,V2> HashBiMap<K2,V2> collect(com.gs.collections.api.block.function.Function2<? super K,? super V,com.gs.collections.api.tuple.Pair<K2,V2>> function)
collect in interface com.gs.collections.api.bimap.BiMap<K,V>collect in interface com.gs.collections.api.bimap.MutableBiMap<K,V>collect in interface com.gs.collections.api.map.MapIterable<K,V>collect in interface com.gs.collections.api.map.MutableMapIterable<K,V>public <R> HashBiMap<K,R> collectValues(com.gs.collections.api.block.function.Function2<? super K,? super V,? extends R> function)
collectValues in interface com.gs.collections.api.bimap.BiMap<K,V>collectValues in interface com.gs.collections.api.bimap.MutableBiMap<K,V>collectValues in interface com.gs.collections.api.map.MapIterable<K,V>collectValues in interface com.gs.collections.api.map.MutableMapIterable<K,V>public <VV> com.gs.collections.api.bag.MutableBag<VV> collect(com.gs.collections.api.block.function.Function<? super V,? extends VV> function)
collect in interface com.gs.collections.api.RichIterable<V>public <P,VV> com.gs.collections.api.bag.MutableBag<VV> collectWith(com.gs.collections.api.block.function.Function2<? super V,? super P,? extends VV> function,
P parameter)
collectWith in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.bag.MutableBag<VV> flatCollect(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function)
flatCollect in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableBooleanBag collectBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super V> booleanFunction)
collectBoolean in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableByteBag collectByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super V> byteFunction)
collectByte in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableCharBag collectChar(com.gs.collections.api.block.function.primitive.CharFunction<? super V> charFunction)
collectChar in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableDoubleBag collectDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super V> doubleFunction)
collectDouble in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableFloatBag collectFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super V> floatFunction)
collectFloat in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableIntBag collectInt(com.gs.collections.api.block.function.primitive.IntFunction<? super V> intFunction)
collectInt in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableLongBag collectLong(com.gs.collections.api.block.function.primitive.LongFunction<? super V> longFunction)
collectLong in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bag.primitive.MutableShortBag collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction)
collectShort in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.bag.MutableBag<VV> collectIf(com.gs.collections.api.block.predicate.Predicate<? super V> predicate,
com.gs.collections.api.block.function.Function<? super V,? extends VV> function)
collectIf in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.set.MutableSet<com.gs.collections.api.tuple.Pair<V,Integer>> zipWithIndex()
zipWithIndex in interface com.gs.collections.api.bimap.BiMap<K,V>zipWithIndex in interface com.gs.collections.api.bimap.MutableBiMap<K,V>zipWithIndex in interface com.gs.collections.api.map.MutableMapIterable<K,V>zipWithIndex in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.multimap.set.MutableSetMultimap<VV,V> groupBy(com.gs.collections.api.block.function.Function<? super V,? extends VV> function)
groupBy in interface com.gs.collections.api.bimap.BiMap<K,V>groupBy in interface com.gs.collections.api.bimap.MutableBiMap<K,V>groupBy in interface com.gs.collections.api.map.MutableMapIterable<K,V>groupBy in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.multimap.set.MutableSetMultimap<VV,V> groupByEach(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function)
groupByEach in interface com.gs.collections.api.bimap.BiMap<K,V>groupByEach in interface com.gs.collections.api.bimap.MutableBiMap<K,V>groupByEach in interface com.gs.collections.api.map.MutableMapIterable<K,V>groupByEach in interface com.gs.collections.api.RichIterable<V>public <S> com.gs.collections.api.set.MutableSet<com.gs.collections.api.tuple.Pair<V,S>> zip(Iterable<S> that)
zip in interface com.gs.collections.api.bimap.BiMap<K,V>zip in interface com.gs.collections.api.bimap.MutableBiMap<K,V>zip in interface com.gs.collections.api.map.MutableMapIterable<K,V>zip in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.set.MutableSet<V> select(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
select in interface com.gs.collections.api.bimap.BiMap<K,V>select in interface com.gs.collections.api.bimap.MutableBiMap<K,V>select in interface com.gs.collections.api.map.MutableMapIterable<K,V>select in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.set.MutableSet<V> selectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
selectWith in interface com.gs.collections.api.bimap.BiMap<K,V>selectWith in interface com.gs.collections.api.bimap.MutableBiMap<K,V>selectWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>selectWith in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.set.MutableSet<V> reject(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
reject in interface com.gs.collections.api.bimap.BiMap<K,V>reject in interface com.gs.collections.api.bimap.MutableBiMap<K,V>reject in interface com.gs.collections.api.map.MutableMapIterable<K,V>reject in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.set.MutableSet<V> rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
rejectWith in interface com.gs.collections.api.bimap.BiMap<K,V>rejectWith in interface com.gs.collections.api.bimap.MutableBiMap<K,V>rejectWith in interface com.gs.collections.api.map.MutableMapIterable<K,V>rejectWith in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.partition.set.PartitionMutableSet<V> partition(com.gs.collections.api.block.predicate.Predicate<? super V> predicate)
partition in interface com.gs.collections.api.bimap.BiMap<K,V>partition in interface com.gs.collections.api.bimap.MutableBiMap<K,V>partition in interface com.gs.collections.api.map.MutableMapIterable<K,V>partition in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.partition.set.PartitionMutableSet<V> partitionWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
partitionWith in interface com.gs.collections.api.bimap.BiMap<K,V>partitionWith in interface com.gs.collections.api.bimap.MutableBiMap<K,V>partitionWith in interface com.gs.collections.api.RichIterable<V>public void forEachValue(com.gs.collections.api.block.procedure.Procedure<? super V> procedure)
forEachValue in interface com.gs.collections.api.map.MapIterable<K,V>forEachValue in class AbstractBiMap<K,V>public <VV> com.gs.collections.api.bimap.MutableBiMap<VV,V> groupByUniqueKey(com.gs.collections.api.block.function.Function<? super V,? extends VV> function)
groupByUniqueKey in interface com.gs.collections.api.bimap.BiMap<K,V>groupByUniqueKey in interface com.gs.collections.api.bimap.MutableBiMap<K,V>groupByUniqueKey in interface com.gs.collections.api.map.MutableMapIterable<K,V>groupByUniqueKey in interface com.gs.collections.api.RichIterable<V>public <K2,V2> com.gs.collections.api.map.MutableMap<K2,V2> aggregateBy(com.gs.collections.api.block.function.Function<? super V,? extends K2> groupBy,
com.gs.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
com.gs.collections.api.block.function.Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
aggregateBy in interface com.gs.collections.api.map.MutableMapIterable<K,V>aggregateBy in interface com.gs.collections.api.RichIterable<V>public <K2,V2> com.gs.collections.api.map.MutableMap<K2,V2> aggregateInPlaceBy(com.gs.collections.api.block.function.Function<? super V,? extends K2> groupBy,
com.gs.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
com.gs.collections.api.block.procedure.Procedure2<? super V2,? super V> mutatingAggregator)
aggregateInPlaceBy in interface com.gs.collections.api.map.MutableMapIterable<K,V>aggregateInPlaceBy in interface com.gs.collections.api.RichIterable<V>public <S> com.gs.collections.api.set.MutableSet<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface com.gs.collections.api.bimap.BiMap<K,V>selectInstancesOf in interface com.gs.collections.api.bimap.MutableBiMap<K,V>selectInstancesOf in interface com.gs.collections.api.map.MutableMapIterable<K,V>selectInstancesOf in interface com.gs.collections.api.RichIterable<V>public void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2004–2016. All rights reserved.