public abstract class AbstractImmutableBiMap<K,V> extends AbstractBiMap<K,V> implements com.gs.collections.api.bimap.ImmutableBiMap<K,V>, Map<K,V>
| Modifier and Type | Method and Description |
|---|---|
<K2,V2> com.gs.collections.api.map.ImmutableMap<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.ImmutableMap<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) |
Map<K,V> |
castToMap() |
void |
clear() |
<VV> com.gs.collections.api.bag.ImmutableBag<VV> |
collect(com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
<K2,V2> com.gs.collections.api.bimap.ImmutableBiMap<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.ImmutableBooleanBag |
collectBoolean(com.gs.collections.api.block.function.primitive.BooleanFunction<? super V> booleanFunction) |
com.gs.collections.api.bag.primitive.ImmutableByteBag |
collectByte(com.gs.collections.api.block.function.primitive.ByteFunction<? super V> byteFunction) |
com.gs.collections.api.bag.primitive.ImmutableCharBag |
collectChar(com.gs.collections.api.block.function.primitive.CharFunction<? super V> charFunction) |
com.gs.collections.api.bag.primitive.ImmutableDoubleBag |
collectDouble(com.gs.collections.api.block.function.primitive.DoubleFunction<? super V> doubleFunction) |
com.gs.collections.api.bag.primitive.ImmutableFloatBag |
collectFloat(com.gs.collections.api.block.function.primitive.FloatFunction<? super V> floatFunction) |
<VV> com.gs.collections.api.bag.ImmutableBag<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.ImmutableIntBag |
collectInt(com.gs.collections.api.block.function.primitive.IntFunction<? super V> intFunction) |
com.gs.collections.api.bag.primitive.ImmutableLongBag |
collectLong(com.gs.collections.api.block.function.primitive.LongFunction<? super V> longFunction) |
com.gs.collections.api.bag.primitive.ImmutableShortBag |
collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction) |
<R> com.gs.collections.api.bimap.ImmutableBiMap<K,R> |
collectValues(com.gs.collections.api.block.function.Function2<? super K,? super V,? extends R> function) |
<P,VV> com.gs.collections.api.bag.ImmutableBag<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.ImmutableBag<VV> |
flatCollect(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function) |
com.gs.collections.api.multimap.set.ImmutableSetMultimap<V,K> |
flip() |
com.gs.collections.api.bimap.ImmutableBiMap<V,K> |
flipUniqueValues() |
<VV> com.gs.collections.api.multimap.set.ImmutableSetMultimap<VV,V> |
groupBy(com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
<VV> com.gs.collections.api.multimap.set.ImmutableSetMultimap<VV,V> |
groupByEach(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function) |
<VV> com.gs.collections.api.bimap.ImmutableBiMap<VV,V> |
groupByUniqueKey(com.gs.collections.api.block.function.Function<? super V,? extends VV> function) |
com.gs.collections.api.bimap.ImmutableBiMap<V,K> |
inverse() |
Iterator<V> |
iterator() |
Set<K> |
keySet() |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
newWithAllKeyValueArguments(com.gs.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
newWithAllKeyValues(Iterable<? extends com.gs.collections.api.tuple.Pair<? extends K,? extends V>> keyValues) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
newWithKeyValue(K key,
V value) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
newWithoutAllKeys(Iterable<? extends K> keys) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
newWithoutKey(K key) |
com.gs.collections.api.partition.set.PartitionImmutableSet<V> |
partition(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> com.gs.collections.api.partition.set.PartitionImmutableSet<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) |
com.gs.collections.api.set.ImmutableSet<V> |
reject(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
reject(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<P> com.gs.collections.api.set.ImmutableSet<V> |
rejectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
V |
remove(Object key) |
com.gs.collections.api.set.ImmutableSet<V> |
select(com.gs.collections.api.block.predicate.Predicate<? super V> predicate) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
select(com.gs.collections.api.block.predicate.Predicate2<? super K,? super V> predicate) |
<S> com.gs.collections.api.set.ImmutableSet<S> |
selectInstancesOf(Class<S> clazz) |
<P> com.gs.collections.api.set.ImmutableSet<V> |
selectWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
tap(com.gs.collections.api.block.procedure.Procedure<? super V> procedure) |
com.gs.collections.api.bimap.ImmutableBiMap<K,V> |
toImmutable() |
com.gs.collections.api.map.MutableMap<K,V> |
toMap() |
Collection<V> |
values() |
<S> com.gs.collections.api.set.ImmutableSet<com.gs.collections.api.tuple.Pair<V,S>> |
zip(Iterable<S> that) |
com.gs.collections.api.set.ImmutableSet<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, forEachValue, 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, zipWithIndexcontainsKey, containsValue, detect, equals, forEachKey, forEachKeyValue, forEachValue, 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 com.gs.collections.api.bimap.ImmutableBiMap<K,V> newWithKeyValue(K key, V value)
public com.gs.collections.api.bimap.ImmutableBiMap<K,V> newWithAllKeyValues(Iterable<? extends com.gs.collections.api.tuple.Pair<? extends K,? extends V>> keyValues)
public com.gs.collections.api.bimap.ImmutableBiMap<K,V> newWithAllKeyValueArguments(com.gs.collections.api.tuple.Pair<? extends K,? extends V>... keyValuePairs)
public com.gs.collections.api.bimap.ImmutableBiMap<K,V> newWithoutAllKeys(Iterable<? extends K> keys)
public com.gs.collections.api.multimap.set.ImmutableSetMultimap<V,K> flip()
flip in interface com.gs.collections.api.bimap.BiMap<K,V>flip in interface com.gs.collections.api.bimap.ImmutableBiMap<K,V>flip in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>flip in interface com.gs.collections.api.map.MapIterable<K,V>public com.gs.collections.api.bimap.ImmutableBiMap<V,K> flipUniqueValues()
flipUniqueValues in interface com.gs.collections.api.bimap.BiMap<K,V>flipUniqueValues in interface com.gs.collections.api.bimap.ImmutableBiMap<K,V>flipUniqueValues in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>flipUniqueValues in interface com.gs.collections.api.map.MapIterable<K,V>public <K2,V2> com.gs.collections.api.bimap.ImmutableBiMap<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.ImmutableBiMap<K,V>collect in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>collect in interface com.gs.collections.api.map.MapIterable<K,V>public <VV> com.gs.collections.api.bag.ImmutableBag<VV> collect(com.gs.collections.api.block.function.Function<? super V,? extends VV> function)
public <R> com.gs.collections.api.bimap.ImmutableBiMap<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.ImmutableBiMap<K,V>collectValues in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>collectValues in interface com.gs.collections.api.map.MapIterable<K,V>public com.gs.collections.api.bag.primitive.ImmutableBooleanBag 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.ImmutableByteBag 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.ImmutableCharBag 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.ImmutableDoubleBag 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.ImmutableFloatBag 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.ImmutableIntBag 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.ImmutableLongBag 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.ImmutableShortBag collectShort(com.gs.collections.api.block.function.primitive.ShortFunction<? super V> shortFunction)
collectShort in interface com.gs.collections.api.RichIterable<V>public <P,VV> com.gs.collections.api.bag.ImmutableBag<VV> collectWith(com.gs.collections.api.block.function.Function2<? super V,? super P,? extends VV> function, P parameter)
public <VV> com.gs.collections.api.bag.ImmutableBag<VV> collectIf(com.gs.collections.api.block.predicate.Predicate<? super V> predicate, com.gs.collections.api.block.function.Function<? super V,? extends VV> function)
public <VV> com.gs.collections.api.bag.ImmutableBag<VV> flatCollect(com.gs.collections.api.block.function.Function<? super V,? extends Iterable<VV>> function)
public com.gs.collections.api.bimap.ImmutableBiMap<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.ImmutableBiMap<K,V>select in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>select in interface com.gs.collections.api.map.MapIterable<K,V>public com.gs.collections.api.bimap.ImmutableBiMap<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.ImmutableBiMap<K,V>tap in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>tap in interface com.gs.collections.api.map.MapIterable<K,V>tap in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.set.ImmutableSet<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.ImmutableBiMap<K,V>select in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>select in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.set.ImmutableSet<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.ImmutableBiMap<K,V>selectWith in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>selectWith in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.bimap.ImmutableBiMap<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.ImmutableBiMap<K,V>reject in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>reject in interface com.gs.collections.api.map.MapIterable<K,V>public com.gs.collections.api.set.ImmutableSet<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.ImmutableBiMap<K,V>reject in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>reject in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.set.ImmutableSet<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.ImmutableBiMap<K,V>rejectWith in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>rejectWith in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.partition.set.PartitionImmutableSet<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.ImmutableBiMap<K,V>partition in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>partition in interface com.gs.collections.api.RichIterable<V>public <P> com.gs.collections.api.partition.set.PartitionImmutableSet<V> partitionWith(com.gs.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
public <S> com.gs.collections.api.set.ImmutableSet<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.ImmutableBiMap<K,V>zip in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>zip in interface com.gs.collections.api.RichIterable<V>public com.gs.collections.api.set.ImmutableSet<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.ImmutableBiMap<K,V>zipWithIndex in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>zipWithIndex in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.multimap.set.ImmutableSetMultimap<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.ImmutableBiMap<K,V>groupBy in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>groupBy in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.multimap.set.ImmutableSetMultimap<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.ImmutableBiMap<K,V>groupByEach in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>groupByEach in interface com.gs.collections.api.RichIterable<V>public <VV> com.gs.collections.api.bimap.ImmutableBiMap<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.ImmutableBiMap<K,V>groupByUniqueKey in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>groupByUniqueKey in interface com.gs.collections.api.RichIterable<V>public <K2,V2> com.gs.collections.api.map.ImmutableMap<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)
public <K2,V2> com.gs.collections.api.map.ImmutableMap<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)
public <S> com.gs.collections.api.set.ImmutableSet<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface com.gs.collections.api.bimap.BiMap<K,V>selectInstancesOf in interface com.gs.collections.api.bimap.ImmutableBiMap<K,V>selectInstancesOf in interface com.gs.collections.api.map.ImmutableMapIterable<K,V>selectInstancesOf in interface com.gs.collections.api.RichIterable<V>Copyright © 2004–2016. All rights reserved.