Class UnmodifiableBiMap<K,V>
java.lang.Object
org.eclipse.collections.impl.bimap.mutable.UnmodifiableBiMap<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<V>,Map<K,,V> BiMap<K,,V> MutableBiMap<K,,V> InternalIterable<V>,MapIterable<K,,V> MutableMapIterable<K,,V> RichIterable<V>
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(Predicate<? super V> predicate) <P> booleanallSatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) booleananySatisfy(Predicate<? super V> predicate) <P> booleananySatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()chunk(int size) voidclear()clone()<V1> RichIterable<V1><VV,R extends Collection<VV>>
R<K2,V2> MutableBiMap<K2, V2> collectBoolean(BooleanFunction<? super V> booleanFunction) <R extends MutableBooleanCollection>
RcollectBoolean(BooleanFunction<? super V> booleanFunction, R target) collectByte(ByteFunction<? super V> byteFunction) <R extends MutableByteCollection>
RcollectByte(ByteFunction<? super V> byteFunction, R target) collectChar(CharFunction<? super V> charFunction) <R extends MutableCharCollection>
RcollectChar(CharFunction<? super V> charFunction, R target) collectDouble(DoubleFunction<? super V> doubleFunction) <R extends MutableDoubleCollection>
RcollectDouble(DoubleFunction<? super V> doubleFunction, R target) collectFloat(FloatFunction<? super V> floatFunction) <R extends MutableFloatCollection>
RcollectFloat(FloatFunction<? super V> floatFunction, R target) <V1> RichIterable<V1><VV,R extends Collection<VV>>
RcollectInt(IntFunction<? super V> intFunction) <R extends MutableIntCollection>
RcollectInt(IntFunction<? super V> intFunction, R target) <R> MutableBiMap<R,V> collectKeysUnique(Function2<? super K, ? super V, ? extends R> function) collectLong(LongFunction<? super V> longFunction) <R extends MutableLongCollection>
RcollectLong(LongFunction<? super V> longFunction, R target) collectShort(ShortFunction<? super V> shortFunction) <R extends MutableShortCollection>
RcollectShort(ShortFunction<? super V> shortFunction, R target) <R> MutableBiMap<K,R> collectValues(Function2<? super K, ? super V, ? extends R> function) <P,V1> RichIterable<V1> collectWith(Function2<? super V, ? super P, ? extends V1> function, P parameter) <P,VV, R extends Collection<VV>>
RcollectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter, R targetCollection) booleanbooleancontainsAll(Collection<?> source) booleancontainsAllArguments(Object... elements) booleancontainsAllIterable(Iterable<?> source) booleancontainsKey(Object key) booleancontainsValue(Object value) int<P> intcountWith(Predicate2<? super V, ? super P> predicate, P parameter) detect(Predicate2<? super K, ? super V> predicate) detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function) detectOptional(Predicate<? super V> predicate) detectOptional(Predicate2<? super K, ? super V> predicate) <P> VdetectWith(Predicate2<? super V, ? super P> predicate, P parameter) <P> VdetectWithIfNone(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) detectWithOptional(Predicate2<? super V, ? super P> predicate, P parameter) voidentrySet()boolean<V1> RichIterable<V1>flatCollect(Function<? super V, ? extends Iterable<V1>> function) <VV,R extends Collection<VV>>
RflatCollect(Function<? super V, ? extends Iterable<VV>> function, R target) <R extends MutableBooleanCollection>
RflatCollectBoolean(Function<? super V, ? extends BooleanIterable> function, R target) <R extends MutableByteCollection>
RflatCollectByte(Function<? super V, ? extends ByteIterable> function, R target) <R extends MutableCharCollection>
RflatCollectChar(Function<? super V, ? extends CharIterable> function, R target) <R extends MutableDoubleCollection>
RflatCollectDouble(Function<? super V, ? extends DoubleIterable> function, R target) <R extends MutableFloatCollection>
RflatCollectFloat(Function<? super V, ? extends FloatIterable> function, R target) <R extends MutableIntCollection>
RflatCollectInt(Function<? super V, ? extends IntIterable> function, R target) <R extends MutableLongCollection>
RflatCollectLong(Function<? super V, ? extends LongIterable> function, R target) <R extends MutableShortCollection>
RflatCollectShort(Function<? super V, ? extends ShortIterable> function, R target) flip()voidforEachKey(Procedure<? super K> procedure) voidforEachKeyValue(Procedure2<? super K, ? super V> procedure) voidforEachValue(Procedure<? super V> procedure) <P> voidforEachWith(Procedure2<? super V, ? super P> procedure, P parameter) voidforEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) getFirst()getIfAbsent(K key, Function0<? extends V> function) getIfAbsentPut(K key, Function0<? extends V> function) getIfAbsentPut(K key, V value) <P> VgetIfAbsentPutWith(K key, Function<? super P, ? extends V> function, P parameter) getIfAbsentPutWithKey(K key, Function<? super K, ? extends V> function) getIfAbsentValue(K key, V value) <P> VgetIfAbsentWith(K key, Function<? super P, ? extends V> function, P parameter) getLast()getOnly()<V1> MutableSetMultimap<V1,V> <VV,R extends MutableMultimap<VV, V>>
R<V1> MutableSetMultimap<V1,V> groupByEach(Function<? super V, ? extends Iterable<V1>> function) <VV,R extends MutableMultimap<VV, V>>
RgroupByEach(Function<? super V, ? extends Iterable<VV>> function, R target) <VV> MutableBiMap<VV,V> groupByUniqueKey(Function<? super V, ? extends VV> function) <VV,R extends MutableMapIterable<VV, V>>
RgroupByUniqueKey(Function<? super V, ? extends VV> function, R target) inthashCode()<A> AifPresentApply(K key, Function<? super V, ? extends A> function) doubleinjectInto(double injectedValue, DoubleObjectToDoubleFunction<? super V> function) floatinjectInto(float injectedValue, FloatObjectToFloatFunction<? super V> function) intinjectInto(int injectedValue, IntObjectToIntFunction<? super V> function) longinjectInto(long injectedValue, LongObjectToLongFunction<? super V> function) <IV> IVinjectInto(IV injectedValue, Function2<? super IV, ? super V, ? extends IV> function) <R extends Collection<V>>
Rinto(R target) inverse()booleanisEmpty()iterator()keySet()keysView()RichIterable<Pair<K,V>> makeString(String separator) makeString(String start, String separator, String end) max()max(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
Vmin()min(Comparator<? super V> comparator) <VV extends Comparable<? super VV>>
VnewEmpty()booleannoneSatisfy(Predicate<? super V> predicate) <P> booleannoneSatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) booleannotEmpty()static <K,V> UnmodifiableBiMap<K, V> static <K,V> UnmodifiableBiMap<K, V> of(MutableBiMap<K, V> biMap) <P> PartitionMutableSet<V>partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) voidvoidputAllMapIterable(MapIterable<? extends K, ? extends V> mapIterable) <R extends Collection<V>>
Rreject(Predicate2<? super K, ? super V> predicate) <P> MutableSet<V>rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) <P,R extends Collection<V>>
RrejectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) booleanremoveAllKeys(Set<? extends K> keys) booleanremoveIf(Predicate2<? super K, ? super V> predicate) <R extends Collection<V>>
Rselect(Predicate2<? super K, ? super V> predicate) <S> MutableSet<S>selectInstancesOf(Class<S> clazz) <P> MutableSet<V>selectWith(Predicate2<? super V, ? super P> predicate, P parameter) <P,R extends Collection<V>>
RselectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) intsize()<V1> MutableObjectDoubleMap<V1>sumByDouble(Function<? super V, ? extends V1> groupBy, DoubleFunction<? super V> function) <V1> MutableObjectDoubleMap<V1>sumByFloat(Function<? super V, ? extends V1> groupBy, FloatFunction<? super V> function) <V1> MutableObjectLongMap<V1>sumByInt(Function<? super V, ? extends V1> groupBy, IntFunction<? super V> function) <V1> MutableObjectLongMap<V1>sumByLong(Function<? super V, ? extends V1> groupBy, LongFunction<? super V> function) doublesumOfDouble(DoubleFunction<? super V> function) doublesumOfFloat(FloatFunction<? super V> function) longsumOfInt(IntFunction<? super V> function) longsumOfLong(LongFunction<? super V> function) Object[]toArray()<T> T[]toArray(T[] target) toBag()<NK,NV> MutableBiMap<NK, NV> toBiMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) toList()<NK,NV> MutableMap<NK, NV> <NK,NV, R extends Map<NK, NV>>
RtoMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction, R target) toSet()toSortedBag(Comparator<? super V> comparator) toSortedList(Comparator<? super V> comparator) <NK,NV> MutableSortedMap<NK, NV> toSortedMap(Comparator<? super NK> comparator, Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) <NK,NV> MutableSortedMap<NK, NV> toSortedMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) toSortedSet(Comparator<? super V> comparator) toString()<P> VupdateValueWith(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) values()withAllKeyValueArguments(Pair<? extends K, ? extends V>... keyValuePairs) withAllKeyValues(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) withKeyValue(K key, V value) withMapIterable(MapIterable<? extends K, ? extends V> mapIterable) withoutAllKeys(Iterable<? extends K> keys) withoutKey(K key) <S> MutableSet<Pair<V,S>> <S,R extends Collection<Pair<V, S>>>
R<R extends Collection<Pair<V,Integer>>>
RzipWithIndex(R target) Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEachMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface org.eclipse.collections.api.map.MapIterable
injectIntoKeyValue, parallelStream, spliterator, streamMethods inherited from interface org.eclipse.collections.api.bimap.MutableBiMap
aggregateBy, aggregateBy, reduceByMethods inherited from interface org.eclipse.collections.api.map.MutableMapIterable
aggregateInPlaceBy, countBy, countByEach, countByWith, forEach, getOrDefaultMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countByEach, countByWith, flatCollectWith, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceBy, reduceInPlace, reduceInPlace, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toSortedBagBy, toSortedListBy, toSortedMapBy, toSortedSetBy
-
Constructor Details
-
UnmodifiableBiMap
-
-
Method Details
-
of
-
of
-
newEmpty
- Specified by:
newEmptyin interfaceMutableBiMap<K,V> - Specified by:
newEmptyin interfaceMutableMapIterable<K,V>
-
inverse
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceMapIterable<K,V>
-
getIfAbsentValue
- Specified by:
getIfAbsentValuein interfaceMapIterable<K,V>
-
getIfAbsentWith
- Specified by:
getIfAbsentWithin interfaceMapIterable<K,V>
-
ifPresentApply
- Specified by:
ifPresentApplyin interfaceMapIterable<K,V>
-
size
public int size() -
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfaceMapIterable<K,V> - Specified by:
toStringin interfaceRichIterable<K>- Overrides:
toStringin classObject
-
entrySet
-
keySet
-
values
-
keysView
- Specified by:
keysViewin interfaceMapIterable<K,V>
-
valuesView
- Specified by:
valuesViewin interfaceMapIterable<K,V>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceMapIterable<K,V>
-
iterator
-
get
-
getFirst
- Specified by:
getFirstin interfaceRichIterable<K>
-
getLast
- Specified by:
getLastin interfaceRichIterable<K>
-
getOnly
- Specified by:
getOnlyin interfaceRichIterable<K>
-
isEmpty
public boolean isEmpty() -
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfaceRichIterable<K>
-
contains
- Specified by:
containsin interfaceRichIterable<K>
-
containsAllIterable
- Specified by:
containsAllIterablein interfaceRichIterable<K>
-
containsAll
- Specified by:
containsAllin interfaceRichIterable<K>
-
containsAllArguments
- Specified by:
containsAllArgumentsin interfaceRichIterable<K>
-
containsKey
- Specified by:
containsKeyin interfaceMap<K,V> - Specified by:
containsKeyin interfaceMapIterable<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Specified by:
containsValuein interfaceMapIterable<K,V>
-
flip
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceBiMap<K,V> - Specified by:
flipUniqueValuesin interfaceMapIterable<K,V> - Specified by:
flipUniqueValuesin interfaceMutableBiMap<K,V> - Specified by:
flipUniqueValuesin interfaceMutableMapIterable<K,V>
-
clone
- Specified by:
clonein interfaceMutableBiMap<K,V>
-
asLazy
- Specified by:
asLazyin interfaceRichIterable<K>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableBiMap<K,V> - Specified by:
asSynchronizedin interfaceMutableMapIterable<K,V>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableBiMap<K,V> - Specified by:
asUnmodifiablein interfaceMutableMapIterable<K,V>
-
tap
- Specified by:
tapin interfaceBiMap<K,V> - Specified by:
tapin interfaceMapIterable<K,V> - Specified by:
tapin interfaceMutableBiMap<K,V> - Specified by:
tapin interfaceMutableMapIterable<K,V> - Specified by:
tapin interfaceRichIterable<K>
-
each
- Specified by:
eachin interfaceRichIterable<K>
-
forEachWithIndex
- Specified by:
forEachWithIndexin interfaceInternalIterable<K>
-
forEachWith
- Specified by:
forEachWithin interfaceInternalIterable<K>
-
forEachKey
- Specified by:
forEachKeyin interfaceMapIterable<K,V>
-
forEachValue
- Specified by:
forEachValuein interfaceMapIterable<K,V>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceMapIterable<K,V>
-
select
-
select
- Specified by:
selectin interfaceBiMap<K,V> - Specified by:
selectin interfaceMutableBiMap<K,V> - Specified by:
selectin interfaceMutableMapIterable<K,V> - Specified by:
selectin interfaceRichIterable<K>
-
select
- Specified by:
selectin interfaceRichIterable<K>
-
selectWith
- Specified by:
selectWithin interfaceBiMap<K,V> - Specified by:
selectWithin interfaceMutableBiMap<K,V> - Specified by:
selectWithin interfaceMutableMapIterable<K,V> - Specified by:
selectWithin interfaceRichIterable<K>
-
selectWith
public <P,R extends Collection<V>> R selectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) - Specified by:
selectWithin interfaceRichIterable<K>
-
reject
-
reject
- Specified by:
rejectin interfaceBiMap<K,V> - Specified by:
rejectin interfaceMutableBiMap<K,V> - Specified by:
rejectin interfaceMutableMapIterable<K,V> - Specified by:
rejectin interfaceRichIterable<K>
-
reject
- Specified by:
rejectin interfaceRichIterable<K>
-
rejectWith
- Specified by:
rejectWithin interfaceBiMap<K,V> - Specified by:
rejectWithin interfaceMutableBiMap<K,V> - Specified by:
rejectWithin interfaceMutableMapIterable<K,V> - Specified by:
rejectWithin interfaceRichIterable<K>
-
rejectWith
public <P,R extends Collection<V>> R rejectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) - Specified by:
rejectWithin interfaceRichIterable<K>
-
partition
- Specified by:
partitionin interfaceBiMap<K,V> - Specified by:
partitionin interfaceMutableBiMap<K,V> - Specified by:
partitionin interfaceMutableMapIterable<K,V> - Specified by:
partitionin interfaceRichIterable<K>
-
partitionWith
public <P> PartitionMutableSet<V> partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) - Specified by:
partitionWithin interfaceBiMap<K,V> - Specified by:
partitionWithin interfaceMutableBiMap<K,V> - Specified by:
partitionWithin interfaceRichIterable<K>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceBiMap<K,V> - Specified by:
selectInstancesOfin interfaceMutableBiMap<K,V> - Specified by:
selectInstancesOfin interfaceMutableMapIterable<K,V> - Specified by:
selectInstancesOfin interfaceRichIterable<K>
-
detect
- Specified by:
detectin interfaceMapIterable<K,V>
-
detect
- Specified by:
detectin interfaceRichIterable<K>
-
detectWith
- Specified by:
detectWithin interfaceRichIterable<K>
-
detectOptional
- Specified by:
detectOptionalin interfaceMapIterable<K,V>
-
detectOptional
- Specified by:
detectOptionalin interfaceRichIterable<K>
-
detectWithOptional
- Specified by:
detectWithOptionalin interfaceRichIterable<K>
-
detectIfNone
- Specified by:
detectIfNonein interfaceRichIterable<K>
-
detectWithIfNone
public <P> V detectWithIfNone(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) - Specified by:
detectWithIfNonein interfaceRichIterable<K>
-
count
- Specified by:
countin interfaceRichIterable<K>
-
countWith
- Specified by:
countWithin interfaceRichIterable<K>
-
anySatisfy
- Specified by:
anySatisfyin interfaceRichIterable<K>
-
anySatisfyWith
- Specified by:
anySatisfyWithin interfaceRichIterable<K>
-
allSatisfy
- Specified by:
allSatisfyin interfaceRichIterable<K>
-
allSatisfyWith
- Specified by:
allSatisfyWithin interfaceRichIterable<K>
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceRichIterable<K>
-
noneSatisfyWith
- Specified by:
noneSatisfyWithin interfaceRichIterable<K>
-
collect
-
collect
- Specified by:
collectin interfaceRichIterable<K>
-
collect
public <VV,R extends Collection<VV>> R collect(Function<? super V, ? extends VV> function, R target) - Specified by:
collectin interfaceRichIterable<K>
-
collectWith
public <P,V1> RichIterable<V1> collectWith(Function2<? super V, ? super P, ? extends V1> function, P parameter) - Specified by:
collectWithin interfaceRichIterable<K>
-
collectWith
public <P,VV, R collectWithR extends Collection<VV>> (Function2<? super V, ? super P, ? extends VV> function, P parameter, R targetCollection) - Specified by:
collectWithin interfaceRichIterable<K>
-
collectValues
- Specified by:
collectValuesin interfaceBiMap<K,V> - Specified by:
collectValuesin interfaceMapIterable<K,V> - Specified by:
collectValuesin interfaceMutableBiMap<K,V> - Specified by:
collectValuesin interfaceMutableMapIterable<K,V>
-
collectKeysUnique
- Specified by:
collectKeysUniquein interfaceBiMap<K,V> - Specified by:
collectKeysUniquein interfaceMapIterable<K,V> - Specified by:
collectKeysUniquein interfaceMutableBiMap<K,V> - Specified by:
collectKeysUniquein interfaceMutableMapIterable<K,V>
-
collectBoolean
- Specified by:
collectBooleanin interfaceRichIterable<K>
-
collectBoolean
public <R extends MutableBooleanCollection> R collectBoolean(BooleanFunction<? super V> booleanFunction, R target) - Specified by:
collectBooleanin interfaceRichIterable<K>
-
flatCollectBoolean
public <R extends MutableBooleanCollection> R flatCollectBoolean(Function<? super V, ? extends BooleanIterable> function, R target) - Specified by:
flatCollectBooleanin interfaceRichIterable<K>
-
collectByte
- Specified by:
collectBytein interfaceRichIterable<K>
-
collectByte
public <R extends MutableByteCollection> R collectByte(ByteFunction<? super V> byteFunction, R target) - Specified by:
collectBytein interfaceRichIterable<K>
-
flatCollectByte
public <R extends MutableByteCollection> R flatCollectByte(Function<? super V, ? extends ByteIterable> function, R target) - Specified by:
flatCollectBytein interfaceRichIterable<K>
-
collectChar
- Specified by:
collectCharin interfaceRichIterable<K>
-
collectChar
public <R extends MutableCharCollection> R collectChar(CharFunction<? super V> charFunction, R target) - Specified by:
collectCharin interfaceRichIterable<K>
-
flatCollectChar
public <R extends MutableCharCollection> R flatCollectChar(Function<? super V, ? extends CharIterable> function, R target) - Specified by:
flatCollectCharin interfaceRichIterable<K>
-
collectDouble
- Specified by:
collectDoublein interfaceRichIterable<K>
-
collectDouble
public <R extends MutableDoubleCollection> R collectDouble(DoubleFunction<? super V> doubleFunction, R target) - Specified by:
collectDoublein interfaceRichIterable<K>
-
flatCollectDouble
public <R extends MutableDoubleCollection> R flatCollectDouble(Function<? super V, ? extends DoubleIterable> function, R target) - Specified by:
flatCollectDoublein interfaceRichIterable<K>
-
collectFloat
- Specified by:
collectFloatin interfaceRichIterable<K>
-
collectFloat
public <R extends MutableFloatCollection> R collectFloat(FloatFunction<? super V> floatFunction, R target) - Specified by:
collectFloatin interfaceRichIterable<K>
-
flatCollectFloat
public <R extends MutableFloatCollection> R flatCollectFloat(Function<? super V, ? extends FloatIterable> function, R target) - Specified by:
flatCollectFloatin interfaceRichIterable<K>
-
collectInt
- Specified by:
collectIntin interfaceRichIterable<K>
-
collectInt
- Specified by:
collectIntin interfaceRichIterable<K>
-
flatCollectInt
public <R extends MutableIntCollection> R flatCollectInt(Function<? super V, ? extends IntIterable> function, R target) - Specified by:
flatCollectIntin interfaceRichIterable<K>
-
collectLong
- Specified by:
collectLongin interfaceRichIterable<K>
-
collectLong
public <R extends MutableLongCollection> R collectLong(LongFunction<? super V> longFunction, R target) - Specified by:
collectLongin interfaceRichIterable<K>
-
flatCollectLong
public <R extends MutableLongCollection> R flatCollectLong(Function<? super V, ? extends LongIterable> function, R target) - Specified by:
flatCollectLongin interfaceRichIterable<K>
-
collectShort
- Specified by:
collectShortin interfaceRichIterable<K>
-
collectShort
public <R extends MutableShortCollection> R collectShort(ShortFunction<? super V> shortFunction, R target) - Specified by:
collectShortin interfaceRichIterable<K>
-
flatCollectShort
public <R extends MutableShortCollection> R flatCollectShort(Function<? super V, ? extends ShortIterable> function, R target) - Specified by:
flatCollectShortin interfaceRichIterable<K>
-
collectIf
public <V1> RichIterable<V1> collectIf(Predicate<? super V> predicate, Function<? super V, ? extends V1> function) - Specified by:
collectIfin interfaceRichIterable<K>
-
collectIf
public <VV,R extends Collection<VV>> R collectIf(Predicate<? super V> predicate, Function<? super V, ? extends VV> function, R target) - Specified by:
collectIfin interfaceRichIterable<K>
-
flatCollect
- Specified by:
flatCollectin interfaceRichIterable<K>
-
flatCollect
public <VV,R extends Collection<VV>> R flatCollect(Function<? super V, ? extends Iterable<VV>> function, R target) - Specified by:
flatCollectin interfaceRichIterable<K>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
- Specified by:
injectIntoin interfaceRichIterable<K>
-
into
- Specified by:
intoin interfaceRichIterable<K>
-
toImmutable
- Specified by:
toImmutablein interfaceBiMap<K,V> - Specified by:
toImmutablein interfaceMapIterable<K,V> - Specified by:
toImmutablein interfaceMutableMapIterable<K,V>
-
toList
- Specified by:
toListin interfaceRichIterable<K>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<K>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<K>
-
toSet
- Specified by:
toSetin interfaceRichIterable<K>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<K>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<K>
-
toBag
- Specified by:
toBagin interfaceRichIterable<K>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<K>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<K>
-
toMap
public <NK,NV> MutableMap<NK,NV> toMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toMapin interfaceRichIterable<K>
-
toMap
public <NK,NV, R toMapR extends Map<NK, NV>> (Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction, R target) - Specified by:
toMapin interfaceRichIterable<K>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toSortedMapin interfaceRichIterable<K>
-
toSortedMap
public <NK,NV> MutableSortedMap<NK,NV> toSortedMap(Comparator<? super NK> comparator, Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toSortedMapin interfaceRichIterable<K>
-
toBiMap
public <NK,NV> MutableBiMap<NK,NV> toBiMap(Function<? super V, ? extends NK> keyFunction, Function<? super V, ? extends NV> valueFunction) - Specified by:
toBiMapin interfaceRichIterable<K>
-
toArray
- Specified by:
toArrayin interfaceRichIterable<K>
-
toArray
public <T> T[] toArray(T[] target) - Specified by:
toArrayin interfaceRichIterable<K>
-
min
- Specified by:
minin interfaceRichIterable<K>
-
min
- Specified by:
minin interfaceRichIterable<K>
-
minBy
- Specified by:
minByin interfaceRichIterable<K>
-
max
- Specified by:
maxin interfaceRichIterable<K>
-
max
- Specified by:
maxin interfaceRichIterable<K>
-
maxBy
- Specified by:
maxByin interfaceRichIterable<K>
-
sumOfInt
- Specified by:
sumOfIntin interfaceRichIterable<K>
-
sumOfFloat
- Specified by:
sumOfFloatin interfaceRichIterable<K>
-
sumOfLong
- Specified by:
sumOfLongin interfaceRichIterable<K>
-
sumOfDouble
- Specified by:
sumOfDoublein interfaceRichIterable<K>
-
sumByInt
public <V1> MutableObjectLongMap<V1> sumByInt(Function<? super V, ? extends V1> groupBy, IntFunction<? super V> function) - Specified by:
sumByIntin interfaceMutableMapIterable<K,V> - Specified by:
sumByIntin interfaceRichIterable<K>
-
sumByFloat
public <V1> MutableObjectDoubleMap<V1> sumByFloat(Function<? super V, ? extends V1> groupBy, FloatFunction<? super V> function) - Specified by:
sumByFloatin interfaceMutableMapIterable<K,V> - Specified by:
sumByFloatin interfaceRichIterable<K>
-
sumByLong
public <V1> MutableObjectLongMap<V1> sumByLong(Function<? super V, ? extends V1> groupBy, LongFunction<? super V> function) - Specified by:
sumByLongin interfaceMutableMapIterable<K,V> - Specified by:
sumByLongin interfaceRichIterable<K>
-
sumByDouble
public <V1> MutableObjectDoubleMap<V1> sumByDouble(Function<? super V, ? extends V1> groupBy, DoubleFunction<? super V> function) - Specified by:
sumByDoublein interfaceMutableMapIterable<K,V> - Specified by:
sumByDoublein interfaceRichIterable<K>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<K>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<K>
-
makeString
- Specified by:
makeStringin interfaceRichIterable<K>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<K>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<K>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<K>
-
zip
- Specified by:
zipin interfaceBiMap<K,V> - Specified by:
zipin interfaceMutableBiMap<K,V> - Specified by:
zipin interfaceMutableMapIterable<K,V> - Specified by:
zipin interfaceRichIterable<K>
-
zip
- Specified by:
zipin interfaceRichIterable<K>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceBiMap<K,V> - Specified by:
zipWithIndexin interfaceMutableBiMap<K,V> - Specified by:
zipWithIndexin interfaceMutableMapIterable<K,V> - Specified by:
zipWithIndexin interfaceRichIterable<K>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceRichIterable<K>
-
chunk
- Specified by:
chunkin interfaceRichIterable<K>
-
groupBy
- Specified by:
groupByin interfaceBiMap<K,V> - Specified by:
groupByin interfaceMutableBiMap<K,V> - Specified by:
groupByin interfaceMutableMapIterable<K,V> - Specified by:
groupByin interfaceRichIterable<K>
-
groupBy
public <VV,R extends MutableMultimap<VV, R groupByV>> (Function<? super V, ? extends VV> function, R target) - Specified by:
groupByin interfaceRichIterable<K>
-
groupByEach
public <V1> MutableSetMultimap<V1,V> groupByEach(Function<? super V, ? extends Iterable<V1>> function) - Specified by:
groupByEachin interfaceBiMap<K,V> - Specified by:
groupByEachin interfaceMutableBiMap<K,V> - Specified by:
groupByEachin interfaceMutableMapIterable<K,V> - Specified by:
groupByEachin interfaceRichIterable<K>
-
groupByEach
public <VV,R extends MutableMultimap<VV, R groupByEachV>> (Function<? super V, ? extends Iterable<VV>> function, R target) - Specified by:
groupByEachin interfaceRichIterable<K>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceBiMap<K,V> - Specified by:
groupByUniqueKeyin interfaceMutableBiMap<K,V> - Specified by:
groupByUniqueKeyin interfaceMutableMapIterable<K,V> - Specified by:
groupByUniqueKeyin interfaceRichIterable<K>
-
groupByUniqueKey
public <VV,R extends MutableMapIterable<VV, R groupByUniqueKeyV>> (Function<? super V, ? extends VV> function, R target) - Specified by:
groupByUniqueKeyin interfaceRichIterable<K>
-
put
-
putAll
-
forcePut
- Specified by:
forcePutin interfaceMutableBiMap<K,V>
-
putPair
- Specified by:
putPairin interfaceMutableMapIterable<K,V>
-
add
- Specified by:
addin interfaceMutableMapIterable<K,V>
-
remove
-
removeKey
- Specified by:
removeKeyin interfaceMutableMapIterable<K,V>
-
removeAllKeys
- Specified by:
removeAllKeysin interfaceMutableMapIterable<K,V>
-
removeIf
- Specified by:
removeIfin interfaceMutableMapIterable<K,V>
-
clear
public void clear() -
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableMapIterable<K,V>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableMapIterable<K,V>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableMapIterable<K,V>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableMapIterable<K,V>
-
updateValue
public V updateValue(K key, Function0<? extends V> factory, Function<? super V, ? extends V> function) - Specified by:
updateValuein interfaceMutableMapIterable<K,V>
-
updateValueWith
public <P> V updateValueWith(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) - Specified by:
updateValueWithin interfaceMutableMapIterable<K,V>
-
merge
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableBiMap<K,V> - Specified by:
withKeyValuein interfaceMutableMapIterable<K,V>
-
withMap
- Specified by:
withMapin interfaceMutableBiMap<K,V> - Specified by:
withMapin interfaceMutableMapIterable<K,V>
-
withMapIterable
- Specified by:
withMapIterablein interfaceMutableBiMap<K,V> - Specified by:
withMapIterablein interfaceMutableMapIterable<K,V>
-
putAllMapIterable
- Specified by:
putAllMapIterablein interfaceMutableMapIterable<K,V>
-
withAllKeyValues
public MutableBiMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) - Specified by:
withAllKeyValuesin interfaceMutableBiMap<K,V> - Specified by:
withAllKeyValuesin interfaceMutableMapIterable<K,V>
-
withAllKeyValueArguments
- Specified by:
withAllKeyValueArgumentsin interfaceMutableBiMap<K,V> - Specified by:
withAllKeyValueArgumentsin interfaceMutableMapIterable<K,V>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableBiMap<K,V> - Specified by:
withoutKeyin interfaceMutableMapIterable<K,V>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableBiMap<K,V> - Specified by:
withoutAllKeysin interfaceMutableMapIterable<K,V>
-