Class UnmodifiableMutableMap<K,V>
java.lang.Object
org.eclipse.collections.impl.UnmodifiableMap<K,V>
org.eclipse.collections.impl.map.mutable.UnmodifiableMutableMap<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<V>,Map<K,,V> InternalIterable<V>,MapIterable<K,,V> MutableMap<K,,V> MutableMapIterable<K,,V> UnsortedMapIterable<K,,V> RichIterable<V>
An unmodifiable view of a map.
- See Also:
-
Nested Class Summary
-
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()MutableMap<K,V> MutableMap<K,V> chunk(int size) MutableMap<K,V> clone()<R> MutableBag<R><R,C extends Collection<R>>
C<K2,V2> MutableMap<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) <R> MutableBag<R><R,C extends Collection<R>>
CcollectInt(IntFunction<? super V> intFunction) <R extends MutableIntCollection>
RcollectInt(IntFunction<? super V> intFunction, R target) <E> MutableMap<K,V> collectKeysAndValues(Iterable<E> iterable, Function<? super E, ? extends K> keyFunction, Function<? super E, ? extends V> valueFunction) <R> MutableMap<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> MutableMap<K,R> collectValues(Function2<? super K, ? super V, ? extends R> function) <P,R, C extends Collection<R>>
CcollectWith(Function2<? super V, ? super P, ? extends R> function, P parameter, C targetCollection) <P,VV> MutableBag<VV> collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) booleanbooleancontainsAll(Collection<?> source) booleancontainsAllArguments(Object... elements) booleancontainsAllIterable(Iterable<?> source) 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) voidboolean<R> MutableBag<R>flatCollect(Function<? super V, ? extends Iterable<R>> function) <R,C extends Collection<R>>
CflatCollect(Function<? super V, ? extends Iterable<R>> function, C 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()MutableMap<V,K> 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()<R> MutableBagMultimap<R,V> <R,C extends MutableMultimap<R, V>>
C<R> MutableBagMultimap<R,V> groupByEach(Function<? super V, ? extends Iterable<R>> function) <R,C extends MutableMultimap<R, V>>
CgroupByEach(Function<? super V, ? extends Iterable<R>> function, C target) <VV> MutableMap<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) iterator()keysView()RichIterable<Pair<K,V>> makeString(String separator) makeString(String start, String separator, String end) max()max(Comparator<? super V> comparator) <R extends Comparable<? super R>>
Vmin()min(Comparator<? super V> comparator) <R extends Comparable<? super R>>
VMutableMap<K,V> newEmpty()booleannoneSatisfy(Predicate<? super V> predicate) <P> booleannoneSatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) booleannotEmpty()static <K,V, M extends Map<K, V>>
UnmodifiableMutableMap<K,V> of(M map) This method will take a MutableMap and wrap it directly in a UnmodifiableMutableMap.<P> PartitionMutableBag<V>partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) voidputAllMapIterable(MapIterable<? extends K, ? extends V> mapIterable) <R extends Collection<V>>
RMutableMap<K,V> reject(Predicate2<? super K, ? super V> predicate) <P> MutableBag<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>>
RMutableMap<K,V> select(Predicate2<? super K, ? super V> predicate) <S> MutableBag<S>selectInstancesOf(Class<S> clazz) <P> MutableBag<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) <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) MutableMap<K,V> Object[]toArray()<T> T[]toArray(T[] a) 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) <P> VupdateValueWith(K key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter) MutableMap<K,V> withAllKeyValueArguments(Pair<? extends K, ? extends V>... keyValuePairs) MutableMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) MutableMap<K,V> withKeyValue(K key, V value) MutableMap<K,V> MutableMap<K,V> withMapIterable(MapIterable<? extends K, ? extends V> mapIterable) MutableMap<K,V> withoutAllKeys(Iterable<? extends K> keys) MutableMap<K,V> withoutKey(K key) <S> MutableBag<Pair<V,S>> Deprecated.in 6.0.<S,R extends Collection<Pair<V, S>>>
RDeprecated.in 6.0.<R extends Collection<Pair<V,Integer>>>
RzipWithIndex(R target) Methods inherited from class org.eclipse.collections.impl.UnmodifiableMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, toString, valuesMethods inherited from interface org.eclipse.collections.api.InternalIterable
forEachMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesMethods inherited from interface org.eclipse.collections.api.map.MapIterable
containsKey, containsValue, get, injectIntoKeyValue, parallelStream, spliterator, stream, toStringMethods inherited from interface org.eclipse.collections.api.map.MutableMap
aggregateBy, aggregateBy, aggregateInPlaceBy, flatCollectWith, reduceByMethods inherited from interface org.eclipse.collections.api.map.MutableMapIterable
countBy, countByEach, countByWith, forEach, getOrDefaultMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, countBy, countByEach, countByWith, flatCollectWith, forEach, getAny, groupByAndCollect, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, isEmpty, makeString, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, reduce, reduceBy, reduceInPlace, reduceInPlace, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toSortedBagBy, toSortedListBy, toSortedMapBy, toSortedSetBy
-
Method Details
-
of
This method will take a MutableMap and wrap it directly in a UnmodifiableMutableMap. It will take any other non-Eclipse-Collections map and first adapt it will a MapAdapter, and then return a UnmodifiableMutableMap that wraps the adapter. -
newEmpty
- Specified by:
newEmptyin interfaceMutableMap<K,V> - Specified by:
newEmptyin interfaceMutableMapIterable<K,V>
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfaceRichIterable<K>
-
forEachValue
- Specified by:
forEachValuein interfaceMapIterable<K,V>
-
forEachKey
- Specified by:
forEachKeyin interfaceMapIterable<K,V>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceMapIterable<K,V>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMapIterable<K,V> - Specified by:
flipUniqueValuesin interfaceMutableMap<K,V> - Specified by:
flipUniqueValuesin interfaceMutableMapIterable<K,V> - Specified by:
flipUniqueValuesin interfaceUnsortedMapIterable<K,V>
-
collectKeysAndValues
public <E> MutableMap<K,V> collectKeysAndValues(Iterable<E> iterable, Function<? super E, ? extends K> keyFunction, Function<? super E, ? extends V> valueFunction) - Specified by:
collectKeysAndValuesin interfaceMutableMap<K,V>
-
removeKey
- Specified by:
removeKeyin interfaceMutableMapIterable<K,V>
-
removeAllKeys
- Specified by:
removeAllKeysin interfaceMutableMapIterable<K,V>
-
removeIf
- Specified by:
removeIfin 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
-
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>
-
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>
-
putPair
- Specified by:
putPairin interfaceMutableMapIterable<K,V>
-
add
- Specified by:
addin interfaceMutableMapIterable<K,V>
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableMap<K,V> - Specified by:
withKeyValuein interfaceMutableMapIterable<K,V>
-
withMap
- Specified by:
withMapin interfaceMutableMap<K,V> - Specified by:
withMapin interfaceMutableMapIterable<K,V>
-
withMapIterable
- Specified by:
withMapIterablein interfaceMutableMap<K,V> - Specified by:
withMapIterablein interfaceMutableMapIterable<K,V>
-
putAllMapIterable
- Specified by:
putAllMapIterablein interfaceMutableMapIterable<K,V>
-
withAllKeyValues
public MutableMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) - Specified by:
withAllKeyValuesin interfaceMutableMap<K,V> - Specified by:
withAllKeyValuesin interfaceMutableMapIterable<K,V>
-
withAllKeyValueArguments
- Specified by:
withAllKeyValueArgumentsin interfaceMutableMap<K,V> - Specified by:
withAllKeyValueArgumentsin interfaceMutableMapIterable<K,V>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableMap<K,V> - Specified by:
withoutKeyin interfaceMutableMapIterable<K,V>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableMap<K,V> - Specified by:
withoutAllKeysin interfaceMutableMapIterable<K,V>
-
flip
- Specified by:
flipin interfaceMapIterable<K,V> - Specified by:
flipin interfaceMutableMap<K,V> - Specified by:
flipin interfaceMutableMapIterable<K,V> - Specified by:
flipin interfaceUnsortedMapIterable<K,V>
-
clone
- Specified by:
clonein interfaceMutableMap<K,V>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableMap<K,V> - Specified by:
asUnmodifiablein interfaceMutableMapIterable<K,V>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableMap<K,V> - Specified by:
asSynchronizedin interfaceMutableMapIterable<K,V>
-
tap
- Specified by:
tapin interfaceMapIterable<K,V> - Specified by:
tapin interfaceMutableMap<K,V> - Specified by:
tapin interfaceMutableMapIterable<K,V> - Specified by:
tapin interfaceRichIterable<K>- Specified by:
tapin interfaceUnsortedMapIterable<K,V>
-
each
- Specified by:
eachin interfaceRichIterable<K>
-
forEachWithIndex
- Specified by:
forEachWithIndexin interfaceInternalIterable<K>
-
forEachWith
- Specified by:
forEachWithin interfaceInternalIterable<K>
-
iterator
-
hashCode
public int hashCode() -
equals
-
keysView
- Specified by:
keysViewin interfaceMapIterable<K,V>
-
valuesView
- Specified by:
valuesViewin interfaceMapIterable<K,V>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceMapIterable<K,V>
-
toImmutable
- Specified by:
toImmutablein interfaceMapIterable<K,V> - Specified by:
toImmutablein interfaceMutableMapIterable<K,V> - Specified by:
toImmutablein interfaceUnsortedMapIterable<K,V>
-
collectValues
- Specified by:
collectValuesin interfaceMapIterable<K,V> - Specified by:
collectValuesin interfaceMutableMap<K,V> - Specified by:
collectValuesin interfaceMutableMapIterable<K,V> - Specified by:
collectValuesin interfaceUnsortedMapIterable<K,V>
-
collectKeysUnique
- Specified by:
collectKeysUniquein interfaceMapIterable<K,V> - Specified by:
collectKeysUniquein interfaceMutableMap<K,V> - Specified by:
collectKeysUniquein interfaceMutableMapIterable<K,V>
-
collect
- Specified by:
collectin interfaceMapIterable<K,V> - Specified by:
collectin interfaceMutableMap<K,V> - Specified by:
collectin interfaceMutableMapIterable<K,V> - Specified by:
collectin interfaceUnsortedMapIterable<K,V>
-
select
- Specified by:
selectin interfaceMapIterable<K,V> - Specified by:
selectin interfaceMutableMap<K,V> - Specified by:
selectin interfaceMutableMapIterable<K,V> - Specified by:
selectin interfaceUnsortedMapIterable<K,V>
-
reject
- Specified by:
rejectin interfaceMapIterable<K,V> - Specified by:
rejectin interfaceMutableMap<K,V> - Specified by:
rejectin interfaceMutableMapIterable<K,V> - Specified by:
rejectin interfaceUnsortedMapIterable<K,V>
-
detect
- Specified by:
detectin interfaceMapIterable<K,V>
-
detectOptional
- Specified by:
detectOptionalin interfaceMapIterable<K,V>
-
allSatisfy
- Specified by:
allSatisfyin interfaceRichIterable<K>
-
allSatisfyWith
- Specified by:
allSatisfyWithin interfaceRichIterable<K>
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceRichIterable<K>
-
noneSatisfyWith
- Specified by:
noneSatisfyWithin interfaceRichIterable<K>
-
anySatisfy
- Specified by:
anySatisfyin interfaceRichIterable<K>
-
anySatisfyWith
- Specified by:
anySatisfyWithin interfaceRichIterable<K>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<K>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<K>
-
appendString
- Specified by:
appendStringin interfaceRichIterable<K>
-
toBag
- Specified by:
toBagin interfaceRichIterable<K>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<K>
-
toSortedBag
- Specified by:
toSortedBagin interfaceRichIterable<K>
-
asLazy
- Specified by:
asLazyin interfaceRichIterable<K>
-
into
- Specified by:
intoin interfaceRichIterable<K>
-
toList
- Specified by:
toListin 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>
-
toSet
- Specified by:
toSetin interfaceRichIterable<K>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<K>
-
toSortedList
- Specified by:
toSortedListin interfaceRichIterable<K>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<K>
-
toSortedSet
- Specified by:
toSortedSetin interfaceRichIterable<K>
-
chunk
- Specified by:
chunkin interfaceRichIterable<K>
-
collect
- Specified by:
collectin interfaceRichIterable<K>
-
collectIf
public <R,C extends Collection<R>> C collectIf(Predicate<? super V> predicate, Function<? super V, ? extends R> function, C target) - Specified by:
collectIfin interfaceRichIterable<K>
-
collectWith
public <P,VV> MutableBag<VV> collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) - Specified by:
collectWithin interfaceMutableMap<K,V> - Specified by:
collectWithin interfaceRichIterable<K>- Specified by:
collectWithin interfaceUnsortedMapIterable<K,V>
-
collectWith
public <P,R, C collectWithC extends Collection<R>> (Function2<? super V, ? super P, ? extends R> function, P parameter, C targetCollection) - Specified by:
collectWithin interfaceRichIterable<K>
-
contains
- Specified by:
containsin interfaceRichIterable<K>
-
containsAllArguments
- Specified by:
containsAllArgumentsin interfaceRichIterable<K>
-
containsAllIterable
- Specified by:
containsAllIterablein interfaceRichIterable<K>
-
containsAll
- Specified by:
containsAllin interfaceRichIterable<K>
-
count
- Specified by:
countin interfaceRichIterable<K>
-
countWith
- Specified by:
countWithin interfaceRichIterable<K>
-
detect
- Specified by:
detectin interfaceRichIterable<K>
-
detectWith
- Specified by:
detectWithin interfaceRichIterable<K>
-
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>
-
flatCollect
public <R,C extends Collection<R>> C flatCollect(Function<? super V, ? extends Iterable<R>> function, C target) - Specified by:
flatCollectin interfaceRichIterable<K>
-
getFirst
- Specified by:
getFirstin interfaceRichIterable<K>
-
getLast
- Specified by:
getLastin interfaceRichIterable<K>
-
getOnly
- Specified by:
getOnlyin interfaceRichIterable<K>
-
groupBy
- Specified by:
groupByin interfaceMutableMap<K,V> - Specified by:
groupByin interfaceMutableMapIterable<K,V> - Specified by:
groupByin interfaceRichIterable<K>- Specified by:
groupByin interfaceUnsortedMapIterable<K,V>
-
groupBy
public <R,C extends MutableMultimap<R, C groupByV>> (Function<? super V, ? extends R> function, C target) - Specified by:
groupByin interfaceRichIterable<K>
-
groupByEach
- Specified by:
groupByEachin interfaceMutableMap<K,V> - Specified by:
groupByEachin interfaceMutableMapIterable<K,V> - Specified by:
groupByEachin interfaceRichIterable<K>- Specified by:
groupByEachin interfaceUnsortedMapIterable<K,V>
-
groupByEach
public <R,C extends MutableMultimap<R, C groupByEachV>> (Function<? super V, ? extends Iterable<R>> function, C target) - Specified by:
groupByEachin interfaceRichIterable<K>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceMutableMap<K,V> - Specified by:
groupByUniqueKeyin interfaceMutableMapIterable<K,V> - Specified by:
groupByUniqueKeyin interfaceRichIterable<K>- Specified by:
groupByUniqueKeyin interfaceUnsortedMapIterable<K,V>
-
groupByUniqueKey
public <VV,R extends MutableMapIterable<VV, R groupByUniqueKeyV>> (Function<? super V, ? extends VV> function, R target) - Specified by:
groupByUniqueKeyin 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>
-
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>
-
max
- Specified by:
maxin interfaceRichIterable<K>
-
max
- Specified by:
maxin interfaceRichIterable<K>
-
maxBy
- Specified by:
maxByin interfaceRichIterable<K>
-
min
- Specified by:
minin interfaceRichIterable<K>
-
min
- Specified by:
minin interfaceRichIterable<K>
-
minBy
- Specified by:
minByin interfaceRichIterable<K>
-
toArray
- Specified by:
toArrayin interfaceRichIterable<K>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceRichIterable<K>
-
zip
- Specified by:
zipin interfaceRichIterable<K>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceRichIterable<K>
-
collect
- Specified by:
collectin interfaceMutableMap<K,V> - Specified by:
collectin interfaceRichIterable<K>- Specified by:
collectin interfaceUnsortedMapIterable<K,V>
-
collectBoolean
- Specified by:
collectBooleanin interfaceMutableMap<K,V> - Specified by:
collectBooleanin interfaceRichIterable<K>- Specified by:
collectBooleanin interfaceUnsortedMapIterable<K,V>
-
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 interfaceMutableMap<K,V> - Specified by:
collectBytein interfaceRichIterable<K>- Specified by:
collectBytein interfaceUnsortedMapIterable<K,V>
-
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 interfaceMutableMap<K,V> - Specified by:
collectCharin interfaceRichIterable<K>- Specified by:
collectCharin interfaceUnsortedMapIterable<K,V>
-
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 interfaceMutableMap<K,V> - Specified by:
collectDoublein interfaceRichIterable<K>- Specified by:
collectDoublein interfaceUnsortedMapIterable<K,V>
-
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 interfaceMutableMap<K,V> - Specified by:
collectFloatin interfaceRichIterable<K>- Specified by:
collectFloatin interfaceUnsortedMapIterable<K,V>
-
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 interfaceMutableMap<K,V> - Specified by:
collectIntin interfaceRichIterable<K>- Specified by:
collectIntin interfaceUnsortedMapIterable<K,V>
-
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 interfaceMutableMap<K,V> - Specified by:
collectLongin interfaceRichIterable<K>- Specified by:
collectLongin interfaceUnsortedMapIterable<K,V>
-
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 interfaceMutableMap<K,V> - Specified by:
collectShortin interfaceRichIterable<K>- Specified by:
collectShortin interfaceUnsortedMapIterable<K,V>
-
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 <R> MutableBag<R> collectIf(Predicate<? super V> predicate, Function<? super V, ? extends R> function) - Specified by:
collectIfin interfaceMutableMap<K,V> - Specified by:
collectIfin interfaceRichIterable<K>- Specified by:
collectIfin interfaceUnsortedMapIterable<K,V>
-
flatCollect
- Specified by:
flatCollectin interfaceMutableMap<K,V> - Specified by:
flatCollectin interfaceRichIterable<K>- Specified by:
flatCollectin interfaceUnsortedMapIterable<K,V>
-
select
- Specified by:
selectin interfaceMutableMap<K,V> - Specified by:
selectin interfaceMutableMapIterable<K,V> - Specified by:
selectin interfaceRichIterable<K>- Specified by:
selectin interfaceUnsortedMapIterable<K,V>
-
select
- Specified by:
selectin interfaceRichIterable<K>
-
selectWith
- Specified by:
selectWithin interfaceMutableMap<K,V> - Specified by:
selectWithin interfaceMutableMapIterable<K,V> - Specified by:
selectWithin interfaceRichIterable<K>- Specified by:
selectWithin interfaceUnsortedMapIterable<K,V>
-
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
- Specified by:
rejectin interfaceMutableMap<K,V> - Specified by:
rejectin interfaceMutableMapIterable<K,V> - Specified by:
rejectin interfaceRichIterable<K>- Specified by:
rejectin interfaceUnsortedMapIterable<K,V>
-
reject
- Specified by:
rejectin interfaceRichIterable<K>
-
rejectWith
- Specified by:
rejectWithin interfaceMutableMap<K,V> - Specified by:
rejectWithin interfaceMutableMapIterable<K,V> - Specified by:
rejectWithin interfaceRichIterable<K>- Specified by:
rejectWithin interfaceUnsortedMapIterable<K,V>
-
rejectWith
public <P,R extends Collection<V>> R rejectWith(Predicate2<? super V, ? super P> predicate, P parameter, R targetCollection) - Specified by:
rejectWithin interfaceRichIterable<K>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceMutableMap<K,V> - Specified by:
selectInstancesOfin interfaceMutableMapIterable<K,V> - Specified by:
selectInstancesOfin interfaceRichIterable<K>- Specified by:
selectInstancesOfin interfaceUnsortedMapIterable<K,V>
-
partition
- Specified by:
partitionin interfaceMutableMap<K,V> - Specified by:
partitionin interfaceMutableMapIterable<K,V> - Specified by:
partitionin interfaceRichIterable<K>- Specified by:
partitionin interfaceUnsortedMapIterable<K,V>
-
partitionWith
public <P> PartitionMutableBag<V> partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) - Specified by:
partitionWithin interfaceMutableMap<K,V> - Specified by:
partitionWithin interfaceRichIterable<K>- Specified by:
partitionWithin interfaceUnsortedMapIterable<K,V>
-
zip
Deprecated.in 6.0. UseOrderedIterable.zip(Iterable)instead.- Specified by:
zipin interfaceMutableMap<K,V> - Specified by:
zipin interfaceMutableMapIterable<K,V> - Specified by:
zipin interfaceRichIterable<K>- Specified by:
zipin interfaceUnsortedMapIterable<K,V>
-
zipWithIndex
Deprecated.in 6.0. UseOrderedIterable.zipWithIndex()instead.- Specified by:
zipWithIndexin interfaceMutableMap<K,V> - Specified by:
zipWithIndexin interfaceMutableMapIterable<K,V> - Specified by:
zipWithIndexin interfaceRichIterable<K>- Specified by:
zipWithIndexin interfaceUnsortedMapIterable<K,V>
-