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(org.eclipse.collections.api.tuple.Pair<K,V> keyValuePair) |
<K2,V2> org.eclipse.collections.api.map.MutableMap<K2,V2> |
aggregateBy(org.eclipse.collections.api.block.function.Function<? super V,? extends K2> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
org.eclipse.collections.api.block.function.Function2<? super V2,? super V,? extends V2> nonMutatingAggregator) |
<K2,V2> org.eclipse.collections.api.map.MutableMap<K2,V2> |
aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super V,? extends K2> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
org.eclipse.collections.api.block.procedure.Procedure2<? super V2,? super V> mutatingAggregator) |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
asSynchronized() |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
asUnmodifiable() |
void |
clear() |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
clone() |
<VV> org.eclipse.collections.api.bag.MutableBag<VV> |
collect(org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function) |
<K2,V2> HashBiMap<K2,V2> |
collect(org.eclipse.collections.api.block.function.Function2<? super K,? super V,org.eclipse.collections.api.tuple.Pair<K2,V2>> function) |
org.eclipse.collections.api.bag.primitive.MutableBooleanBag |
collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super V> booleanFunction) |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super V> byteFunction) |
org.eclipse.collections.api.bag.primitive.MutableCharBag |
collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super V> charFunction) |
org.eclipse.collections.api.bag.primitive.MutableDoubleBag |
collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super V> doubleFunction) |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super V> floatFunction) |
<VV> org.eclipse.collections.api.bag.MutableBag<VV> |
collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate,
org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function) |
org.eclipse.collections.api.bag.primitive.MutableIntBag |
collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super V> intFunction) |
org.eclipse.collections.api.bag.primitive.MutableLongBag |
collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super V> longFunction) |
org.eclipse.collections.api.bag.primitive.MutableShortBag |
collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction) |
<R> HashBiMap<K,R> |
collectValues(org.eclipse.collections.api.block.function.Function2<? super K,? super V,? extends R> function) |
<P,VV> org.eclipse.collections.api.bag.MutableBag<VV> |
collectWith(org.eclipse.collections.api.block.function.Function2<? super V,? super P,? extends VV> function,
P parameter) |
Set<Map.Entry<K,V>> |
entrySet() |
<VV> org.eclipse.collections.api.bag.MutableBag<VV> |
flatCollect(org.eclipse.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function) |
org.eclipse.collections.api.multimap.set.MutableSetMultimap<V,K> |
flip() |
org.eclipse.collections.api.bimap.MutableBiMap<V,K> |
flipUniqueValues() |
V |
forcePut(K key,
V value) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure) |
V |
getIfAbsentPut(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> function) |
V |
getIfAbsentPut(K key,
V value) |
<P> V |
getIfAbsentPutWith(K key,
org.eclipse.collections.api.block.function.Function<? super P,? extends V> function,
P parameter) |
V |
getIfAbsentPutWithKey(K key,
org.eclipse.collections.api.block.function.Function<? super K,? extends V> function) |
<VV> org.eclipse.collections.api.multimap.set.MutableSetMultimap<VV,V> |
groupBy(org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function) |
<VV> org.eclipse.collections.api.multimap.set.MutableSetMultimap<VV,V> |
groupByEach(org.eclipse.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function) |
<VV> org.eclipse.collections.api.bimap.MutableBiMap<VV,V> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function) |
org.eclipse.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) |
org.eclipse.collections.api.partition.set.PartitionMutableSet<V> |
partition(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> org.eclipse.collections.api.partition.set.PartitionMutableSet<V> |
partitionWith(org.eclipse.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) |
org.eclipse.collections.api.set.MutableSet<V> |
reject(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate) |
HashBiMap<K,V> |
reject(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<P> org.eclipse.collections.api.set.MutableSet<V> |
rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
V |
remove(Object key) |
V |
removeKey(K key) |
org.eclipse.collections.api.set.MutableSet<V> |
select(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate) |
HashBiMap<K,V> |
select(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<S> org.eclipse.collections.api.set.MutableSet<S> |
selectInstancesOf(Class<S> clazz) |
<P> org.eclipse.collections.api.set.MutableSet<V> |
selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
tap(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure) |
org.eclipse.collections.api.bimap.ImmutableBiMap<K,V> |
toImmutable() |
V |
updateValue(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> factory,
org.eclipse.collections.api.block.function.Function<? super V,? extends V> function) |
<P> V |
updateValueWith(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> factory,
org.eclipse.collections.api.block.function.Function2<? super V,? super P,? extends V> function,
P parameter) |
Collection<V> |
values() |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs) |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
withAllKeyValues(Iterable<? extends org.eclipse.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) |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
withKeyValue(K key,
V value) |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
withoutAllKeys(Iterable<? extends K> keys) |
org.eclipse.collections.api.bimap.MutableBiMap<K,V> |
withoutKey(K key) |
void |
writeExternal(ObjectOutput out) |
<S> org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<V,S>> |
zip(Iterable<S> that) |
org.eclipse.collections.api.set.MutableSet<org.eclipse.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, zipWithIndexreadExternal, 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 org.eclipse.collections.api.bimap.MutableBiMap<K,V>newEmpty in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> withKeyValue(K key,
V value)
withKeyValue in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>withKeyValue in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> withAllKeyValues(Iterable<? extends org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>> keyValues)
withAllKeyValues in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>withAllKeyValues in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs)
withAllKeyValueArguments in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>withAllKeyValueArguments in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> withoutKey(K key)
withoutKey in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>withoutKey in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>withoutAllKeys in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<V,K> inverse()
inverse in interface org.eclipse.collections.api.bimap.BiMap<K,V>inverse in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>public org.eclipse.collections.api.multimap.set.MutableSetMultimap<V,K> flip()
flip in interface org.eclipse.collections.api.bimap.BiMap<K,V>flip in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>flip in interface org.eclipse.collections.api.map.MapIterable<K,V>flip in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<V,K> flipUniqueValues()
flipUniqueValues in interface org.eclipse.collections.api.bimap.BiMap<K,V>flipUniqueValues in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>flipUniqueValues in interface org.eclipse.collections.api.map.MapIterable<K,V>flipUniqueValues in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public V put(K key,
V value)
public V forcePut(K key,
V value)
forcePut in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>public void putAll(Map<? extends K,? extends V> map)
public V add(org.eclipse.collections.api.tuple.Pair<K,V> keyValuePair)
add in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public V removeKey(K key)
removeKey in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public V getIfAbsentPut(K key,
V value)
getIfAbsentPut in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public V getIfAbsentPut(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> function)
getIfAbsentPut in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public <P> V getIfAbsentPutWith(K key,
org.eclipse.collections.api.block.function.Function<? super P,? extends V> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public V getIfAbsentPutWithKey(K key,
org.eclipse.collections.api.block.function.Function<? super K,? extends V> function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public V updateValue(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> factory,
org.eclipse.collections.api.block.function.Function<? super V,? extends V> function)
updateValue in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public <P> V updateValueWith(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> factory,
org.eclipse.collections.api.block.function.Function2<? super V,? super P,? extends V> function,
P parameter)
updateValueWith in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public Collection<V> values()
public org.eclipse.collections.api.bimap.ImmutableBiMap<K,V> toImmutable()
toImmutable in interface org.eclipse.collections.api.bimap.BiMap<K,V>toImmutable in interface org.eclipse.collections.api.map.MapIterable<K,V>toImmutable in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> asSynchronized()
asSynchronized in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>asSynchronized in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>asUnmodifiable in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public org.eclipse.collections.api.bimap.MutableBiMap<K,V> clone()
public org.eclipse.collections.api.bimap.MutableBiMap<K,V> tap(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure)
tap in interface org.eclipse.collections.api.bimap.BiMap<K,V>tap in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>tap in interface org.eclipse.collections.api.map.MapIterable<K,V>tap in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>tap in interface org.eclipse.collections.api.RichIterable<V>public HashBiMap<K,V> select(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
select in interface org.eclipse.collections.api.bimap.BiMap<K,V>select in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>select in interface org.eclipse.collections.api.map.MapIterable<K,V>select in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public HashBiMap<K,V> reject(org.eclipse.collections.api.block.predicate.Predicate2<? super K,? super V> predicate)
reject in interface org.eclipse.collections.api.bimap.BiMap<K,V>reject in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>reject in interface org.eclipse.collections.api.map.MapIterable<K,V>reject in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public <K2,V2> HashBiMap<K2,V2> collect(org.eclipse.collections.api.block.function.Function2<? super K,? super V,org.eclipse.collections.api.tuple.Pair<K2,V2>> function)
collect in interface org.eclipse.collections.api.bimap.BiMap<K,V>collect in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>collect in interface org.eclipse.collections.api.map.MapIterable<K,V>collect in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public <R> HashBiMap<K,R> collectValues(org.eclipse.collections.api.block.function.Function2<? super K,? super V,? extends R> function)
collectValues in interface org.eclipse.collections.api.bimap.BiMap<K,V>collectValues in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>collectValues in interface org.eclipse.collections.api.map.MapIterable<K,V>collectValues in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>public <VV> org.eclipse.collections.api.bag.MutableBag<VV> collect(org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function)
collect in interface org.eclipse.collections.api.RichIterable<V>public <P,VV> org.eclipse.collections.api.bag.MutableBag<VV> collectWith(org.eclipse.collections.api.block.function.Function2<? super V,? super P,? extends VV> function,
P parameter)
collectWith in interface org.eclipse.collections.api.RichIterable<V>public <VV> org.eclipse.collections.api.bag.MutableBag<VV> flatCollect(org.eclipse.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function)
flatCollect in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableBooleanBag collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super V> booleanFunction)
collectBoolean in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableByteBag collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super V> byteFunction)
collectByte in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableCharBag collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super V> charFunction)
collectChar in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableDoubleBag collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super V> doubleFunction)
collectDouble in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableFloatBag collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super V> floatFunction)
collectFloat in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableIntBag collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super V> intFunction)
collectInt in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableLongBag collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super V> longFunction)
collectLong in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.bag.primitive.MutableShortBag collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction)
collectShort in interface org.eclipse.collections.api.RichIterable<V>public <VV> org.eclipse.collections.api.bag.MutableBag<VV> collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate,
org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function)
collectIf in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<V,Integer>> zipWithIndex()
zipWithIndex in interface org.eclipse.collections.api.bimap.BiMap<K,V>zipWithIndex in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>zipWithIndex in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>zipWithIndex in interface org.eclipse.collections.api.RichIterable<V>public <VV> org.eclipse.collections.api.multimap.set.MutableSetMultimap<VV,V> groupBy(org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function)
groupBy in interface org.eclipse.collections.api.bimap.BiMap<K,V>groupBy in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>groupBy in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>groupBy in interface org.eclipse.collections.api.RichIterable<V>public <VV> org.eclipse.collections.api.multimap.set.MutableSetMultimap<VV,V> groupByEach(org.eclipse.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function)
groupByEach in interface org.eclipse.collections.api.bimap.BiMap<K,V>groupByEach in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>groupByEach in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>groupByEach in interface org.eclipse.collections.api.RichIterable<V>public <S> org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<V,S>> zip(Iterable<S> that)
zip in interface org.eclipse.collections.api.bimap.BiMap<K,V>zip in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>zip in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>zip in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.set.MutableSet<V> select(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate)
select in interface org.eclipse.collections.api.bimap.BiMap<K,V>select in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>select in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>select in interface org.eclipse.collections.api.RichIterable<V>public <P> org.eclipse.collections.api.set.MutableSet<V> selectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
selectWith in interface org.eclipse.collections.api.bimap.BiMap<K,V>selectWith in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>selectWith in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>selectWith in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.set.MutableSet<V> reject(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate)
reject in interface org.eclipse.collections.api.bimap.BiMap<K,V>reject in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>reject in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>reject in interface org.eclipse.collections.api.RichIterable<V>public <P> org.eclipse.collections.api.set.MutableSet<V> rejectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
rejectWith in interface org.eclipse.collections.api.bimap.BiMap<K,V>rejectWith in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>rejectWith in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>rejectWith in interface org.eclipse.collections.api.RichIterable<V>public org.eclipse.collections.api.partition.set.PartitionMutableSet<V> partition(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate)
partition in interface org.eclipse.collections.api.bimap.BiMap<K,V>partition in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>partition in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>partition in interface org.eclipse.collections.api.RichIterable<V>public <P> org.eclipse.collections.api.partition.set.PartitionMutableSet<V> partitionWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter)
partitionWith in interface org.eclipse.collections.api.bimap.BiMap<K,V>partitionWith in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>partitionWith in interface org.eclipse.collections.api.RichIterable<V>public void forEachValue(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure)
forEachValue in interface org.eclipse.collections.api.map.MapIterable<K,V>forEachValue in class AbstractBiMap<K,V>public <VV> org.eclipse.collections.api.bimap.MutableBiMap<VV,V> groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super V,? extends VV> function)
groupByUniqueKey in interface org.eclipse.collections.api.bimap.BiMap<K,V>groupByUniqueKey in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>groupByUniqueKey in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>groupByUniqueKey in interface org.eclipse.collections.api.RichIterable<V>public <K2,V2> org.eclipse.collections.api.map.MutableMap<K2,V2> aggregateBy(org.eclipse.collections.api.block.function.Function<? super V,? extends K2> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
org.eclipse.collections.api.block.function.Function2<? super V2,? super V,? extends V2> nonMutatingAggregator)
aggregateBy in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>aggregateBy in interface org.eclipse.collections.api.RichIterable<V>public <K2,V2> org.eclipse.collections.api.map.MutableMap<K2,V2> aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super V,? extends K2> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V2> zeroValueFactory,
org.eclipse.collections.api.block.procedure.Procedure2<? super V2,? super V> mutatingAggregator)
aggregateInPlaceBy in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>aggregateInPlaceBy in interface org.eclipse.collections.api.RichIterable<V>public <S> org.eclipse.collections.api.set.MutableSet<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface org.eclipse.collections.api.bimap.BiMap<K,V>selectInstancesOf in interface org.eclipse.collections.api.bimap.MutableBiMap<K,V>selectInstancesOf in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>selectInstancesOf in interface org.eclipse.collections.api.RichIterable<V>public void writeExternal(ObjectOutput out) throws IOException
IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2004–2017. All rights reserved.