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>
public class UnmodifiableMutableMap<K,V> extends UnmodifiableMap<K,V> implements MutableMap<K,V>
An unmodifiable view of a map.- See Also:
MutableMap.asUnmodifiable(), Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Vadd(Pair<? extends K,? extends V> keyValuePair)booleanallSatisfy(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)LazyIterable<V>asLazy()MutableMap<K,V>asSynchronized()MutableMap<K,V>asUnmodifiable()RichIterable<RichIterable<V>>chunk(int size)MutableMap<K,V>clone()<R> MutableBag<R>collect(Function<? super V,? extends R> function)<R,C extends Collection<R>>
Ccollect(Function<? super V,? extends R> function, C target)<K2,V2>
MutableMap<K2,V2>collect(Function2<? super K,? super V,Pair<K2,V2>> function)MutableBooleanBagcollectBoolean(BooleanFunction<? super V> booleanFunction)<R extends MutableBooleanCollection>
RcollectBoolean(BooleanFunction<? super V> booleanFunction, R target)MutableByteBagcollectByte(ByteFunction<? super V> byteFunction)<R extends MutableByteCollection>
RcollectByte(ByteFunction<? super V> byteFunction, R target)MutableCharBagcollectChar(CharFunction<? super V> charFunction)<R extends MutableCharCollection>
RcollectChar(CharFunction<? super V> charFunction, R target)MutableDoubleBagcollectDouble(DoubleFunction<? super V> doubleFunction)<R extends MutableDoubleCollection>
RcollectDouble(DoubleFunction<? super V> doubleFunction, R target)MutableFloatBagcollectFloat(FloatFunction<? super V> floatFunction)<R extends MutableFloatCollection>
RcollectFloat(FloatFunction<? super V> floatFunction, R target)<R> MutableBag<R>collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)<R,C extends Collection<R>>
CcollectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function, C target)MutableIntBagcollectInt(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)MutableLongBagcollectLong(LongFunction<? super V> longFunction)<R extends MutableLongCollection>
RcollectLong(LongFunction<? super V> longFunction, R target)MutableShortBagcollectShort(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)booleancontains(Object object)booleancontainsAll(Collection<?> source)booleancontainsAllArguments(Object... elements)booleancontainsAllIterable(Iterable<?> source)intcount(Predicate<? super V> predicate)<P> intcountWith(Predicate2<? super V,? super P> predicate, P parameter)Vdetect(Predicate<? super V> predicate)Pair<K,V>detect(Predicate2<? super K,? super V> predicate)VdetectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)Optional<V>detectOptional(Predicate<? super V> predicate)Optional<Pair<K,V>>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)<P> Optional<V>detectWithOptional(Predicate2<? super V,? super P> predicate, P parameter)voideach(Procedure<? super V> procedure)booleanequals(Object obj)<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)MutableSetMultimap<V,K>flip()MutableMap<V,K>flipUniqueValues()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)VgetFirst()VgetIfAbsent(K key, Function0<? extends V> function)VgetIfAbsentPut(K key, Function0<? extends V> function)VgetIfAbsentPut(K key, V value)<P> VgetIfAbsentPutWith(K key, Function<? super P,? extends V> function, P parameter)VgetIfAbsentPutWithKey(K key, Function<? super K,? extends V> function)VgetIfAbsentValue(K key, V value)<P> VgetIfAbsentWith(K key, Function<? super P,? extends V> function, P parameter)VgetLast()VgetOnly()<R> MutableBagMultimap<R,V>groupBy(Function<? super V,? extends R> function)<R,C extends MutableMultimap<R,V>>
CgroupBy(Function<? super V,? extends R> function, C target)<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<V>iterator()RichIterable<K>keysView()RichIterable<Pair<K,V>>keyValuesView()StringmakeString()StringmakeString(String separator)StringmakeString(String start, String separator, String end)Vmax()Vmax(Comparator<? super V> comparator)<R extends Comparable<? super R>>
VmaxBy(Function<? super V,? extends R> function)Vmin()Vmin(Comparator<? super V> comparator)<R extends Comparable<? super R>>
VminBy(Function<? super V,? extends R> function)MutableMap<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.PartitionMutableBag<V>partition(Predicate<? super V> predicate)<P> PartitionMutableBag<V>partitionWith(Predicate2<? super V,? super P> predicate, P parameter)voidputAllMapIterable(MapIterable<? extends K,? extends V> mapIterable)VputPair(Pair<? extends K,? extends V> keyValuePair)MutableBag<V>reject(Predicate<? super V> predicate)<R extends Collection<V>>
Rreject(Predicate<? super V> predicate, R target)MutableMap<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)VremoveKey(K key)MutableBag<V>select(Predicate<? super V> predicate)<R extends Collection<V>>
Rselect(Predicate<? super V> predicate, R target)MutableMap<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>tap(Procedure<? super V> procedure)Object[]toArray()<T> T[]toArray(T[] a)MutableBag<V>toBag()<NK,NV>
MutableBiMap<NK,NV>toBiMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)ImmutableMap<K,V>toImmutable()MutableList<V>toList()<NK,NV>
MutableMap<NK,NV>toMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction)<NK,NV,R extends Map<NK,NV>>
RtoMap(Function<? super V,? extends NK> keyFunction, Function<? super V,? extends NV> valueFunction, R target)MutableSet<V>toSet()MutableSortedBag<V>toSortedBag()MutableSortedBag<V>toSortedBag(Comparator<? super V> comparator)MutableList<V>toSortedList()MutableList<V>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)MutableSortedSet<V>toSortedSet()MutableSortedSet<V>toSortedSet(Comparator<? super V> comparator)VupdateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)<P> VupdateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)RichIterable<V>valuesView()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>withMap(Map<? extends K,? extends V> map)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>>zip(Iterable<S> that)Deprecated.in 6.0.<S,R extends Collection<Pair<V,S>>>
Rzip(Iterable<S> that, R target)MutableSet<Pair<V,Integer>>zipWithIndex()Deprecated.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, values
-
Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEach
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface org.eclipse.collections.api.map.MapIterable
containsKey, containsValue, get, injectIntoKeyValue, parallelStream, spliterator, stream, toString
-
Methods inherited from interface org.eclipse.collections.api.map.MutableMap
aggregateBy, aggregateBy, aggregateInPlaceBy, flatCollectWith
-
Methods inherited from interface org.eclipse.collections.api.map.MutableMapIterable
countBy, countByEach, countByWith, forEach, getOrDefault
-
Methods 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, 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 Detail
-
of
public 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. 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
public MutableMap<K,V> newEmpty()
- Specified by:
newEmptyin interfaceMutableMap<K,V>- Specified by:
newEmptyin interfaceMutableMapIterable<K,V>
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfaceRichIterable<K>
-
forEachValue
public void forEachValue(Procedure<? super V> procedure)
- Specified by:
forEachValuein interfaceMapIterable<K,V>
-
forEachKey
public void forEachKey(Procedure<? super K> procedure)
- Specified by:
forEachKeyin interfaceMapIterable<K,V>
-
forEachKeyValue
public void forEachKeyValue(Procedure2<? super K,? super V> procedure)
- Specified by:
forEachKeyValuein interfaceMapIterable<K,V>
-
flipUniqueValues
public MutableMap<V,K> 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>
-
removeAllKeys
public boolean removeAllKeys(Set<? extends K> keys)
- Specified by:
removeAllKeysin interfaceMutableMapIterable<K,V>
-
removeIf
public boolean removeIf(Predicate2<? super K,? super V> predicate)
- 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>
-
getIfAbsentPut
public V getIfAbsentPut(K key, Function0<? extends V> function)
- Specified by:
getIfAbsentPutin interfaceMutableMapIterable<K,V>
-
getIfAbsentPut
public V getIfAbsentPut(K key, V value)
- Specified by:
getIfAbsentPutin interfaceMutableMapIterable<K,V>
-
getIfAbsentPutWithKey
public V getIfAbsentPutWithKey(K key, Function<? super K,? extends V> function)
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableMapIterable<K,V>
-
getIfAbsentPutWith
public <P> V getIfAbsentPutWith(K key, Function<? super P,? extends V> function, P parameter)
- Specified by:
getIfAbsentPutWithin interfaceMutableMapIterable<K,V>
-
getIfAbsent
public V getIfAbsent(K key, Function0<? extends V> function)
- Specified by:
getIfAbsentin interfaceMapIterable<K,V>
-
getIfAbsentValue
public V getIfAbsentValue(K key, V value)
- Specified by:
getIfAbsentValuein interfaceMapIterable<K,V>
-
getIfAbsentWith
public <P> V getIfAbsentWith(K key, Function<? super P,? extends V> function, P parameter)
- Specified by:
getIfAbsentWithin interfaceMapIterable<K,V>
-
ifPresentApply
public <A> A ifPresentApply(K key, Function<? super V,? extends A> function)
- Specified by:
ifPresentApplyin interfaceMapIterable<K,V>
-
putPair
public V putPair(Pair<? extends K,? extends V> keyValuePair)
- Specified by:
putPairin interfaceMutableMapIterable<K,V>
-
add
public V add(Pair<? extends K,? extends V> keyValuePair)
- Specified by:
addin interfaceMutableMapIterable<K,V>
-
withKeyValue
public MutableMap<K,V> withKeyValue(K key, V value)
- Specified by:
withKeyValuein interfaceMutableMap<K,V>- Specified by:
withKeyValuein interfaceMutableMapIterable<K,V>
-
withMap
public MutableMap<K,V> withMap(Map<? extends K,? extends V> map)
- Specified by:
withMapin interfaceMutableMap<K,V>- Specified by:
withMapin interfaceMutableMapIterable<K,V>
-
withMapIterable
public MutableMap<K,V> withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
- Specified by:
withMapIterablein interfaceMutableMap<K,V>- Specified by:
withMapIterablein interfaceMutableMapIterable<K,V>
-
putAllMapIterable
public void putAllMapIterable(MapIterable<? extends K,? extends V> mapIterable)
- 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
public MutableMap<K,V> withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValuePairs)
- Specified by:
withAllKeyValueArgumentsin interfaceMutableMap<K,V>- Specified by:
withAllKeyValueArgumentsin interfaceMutableMapIterable<K,V>
-
withoutKey
public MutableMap<K,V> withoutKey(K key)
- Specified by:
withoutKeyin interfaceMutableMap<K,V>- Specified by:
withoutKeyin interfaceMutableMapIterable<K,V>
-
withoutAllKeys
public MutableMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
- Specified by:
withoutAllKeysin interfaceMutableMap<K,V>- Specified by:
withoutAllKeysin interfaceMutableMapIterable<K,V>
-
flip
public MutableSetMultimap<V,K> 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
public MutableMap<K,V> clone()
- Specified by:
clonein interfaceMutableMap<K,V>
-
asUnmodifiable
public MutableMap<K,V> asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableMap<K,V>- Specified by:
asUnmodifiablein interfaceMutableMapIterable<K,V>
-
asSynchronized
public MutableMap<K,V> asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableMap<K,V>- Specified by:
asSynchronizedin interfaceMutableMapIterable<K,V>
-
tap
public MutableMap<K,V> tap(Procedure<? super V> procedure)
- 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
public void each(Procedure<? super V> procedure)
- Specified by:
eachin interfaceRichIterable<K>
-
forEachWithIndex
public void forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure)
- Specified by:
forEachWithIndexin interfaceInternalIterable<K>
-
forEachWith
public <P> void forEachWith(Procedure2<? super V,? super P> procedure, P parameter)
- Specified by:
forEachWithin interfaceInternalIterable<K>
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object obj)
-
keysView
public RichIterable<K> keysView()
- Specified by:
keysViewin interfaceMapIterable<K,V>
-
valuesView
public RichIterable<V> valuesView()
- Specified by:
valuesViewin interfaceMapIterable<K,V>
-
keyValuesView
public RichIterable<Pair<K,V>> keyValuesView()
- Specified by:
keyValuesViewin interfaceMapIterable<K,V>
-
toImmutable
public ImmutableMap<K,V> toImmutable()
- Specified by:
toImmutablein interfaceMapIterable<K,V>- Specified by:
toImmutablein interfaceMutableMapIterable<K,V>- Specified by:
toImmutablein interfaceUnsortedMapIterable<K,V>
-
collectValues
public <R> MutableMap<K,R> collectValues(Function2<? super K,? super V,? extends R> function)
- Specified by:
collectValuesin interfaceMapIterable<K,V>- Specified by:
collectValuesin interfaceMutableMap<K,V>- Specified by:
collectValuesin interfaceMutableMapIterable<K,V>- Specified by:
collectValuesin interfaceUnsortedMapIterable<K,V>
-
collect
public <K2,V2> MutableMap<K2,V2> collect(Function2<? super K,? super V,Pair<K2,V2>> function)
- 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
public MutableMap<K,V> select(Predicate2<? super K,? super V> predicate)
- 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
public MutableMap<K,V> reject(Predicate2<? super K,? super V> predicate)
- 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
public Pair<K,V> detect(Predicate2<? super K,? super V> predicate)
- Specified by:
detectin interfaceMapIterable<K,V>
-
detectOptional
public Optional<Pair<K,V>> detectOptional(Predicate2<? super K,? super V> predicate)
- Specified by:
detectOptionalin interfaceMapIterable<K,V>
-
allSatisfy
public boolean allSatisfy(Predicate<? super V> predicate)
- Specified by:
allSatisfyin interfaceRichIterable<K>
-
allSatisfyWith
public <P> boolean allSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
allSatisfyWithin interfaceRichIterable<K>
-
noneSatisfy
public boolean noneSatisfy(Predicate<? super V> predicate)
- Specified by:
noneSatisfyin interfaceRichIterable<K>
-
noneSatisfyWith
public <P> boolean noneSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
noneSatisfyWithin interfaceRichIterable<K>
-
anySatisfy
public boolean anySatisfy(Predicate<? super V> predicate)
- Specified by:
anySatisfyin interfaceRichIterable<K>
-
anySatisfyWith
public <P> boolean anySatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
anySatisfyWithin interfaceRichIterable<K>
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfaceRichIterable<K>
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfaceRichIterable<K>
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfaceRichIterable<K>
-
toBag
public MutableBag<V> toBag()
- Specified by:
toBagin interfaceRichIterable<K>
-
toSortedBag
public MutableSortedBag<V> toSortedBag()
- Specified by:
toSortedBagin interfaceRichIterable<K>
-
toSortedBag
public MutableSortedBag<V> toSortedBag(Comparator<? super V> comparator)
- Specified by:
toSortedBagin interfaceRichIterable<K>
-
asLazy
public LazyIterable<V> asLazy()
- Specified by:
asLazyin interfaceRichIterable<K>
-
into
public <R extends Collection<V>> R into(R target)
- Specified by:
intoin interfaceRichIterable<K>
-
toList
public MutableList<V> 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 extends Map<NK,NV>> R toMap(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
public MutableSet<V> toSet()
- Specified by:
toSetin interfaceRichIterable<K>
-
toSortedList
public MutableList<V> toSortedList()
- Specified by:
toSortedListin interfaceRichIterable<K>
-
toSortedList
public MutableList<V> toSortedList(Comparator<? super V> comparator)
- Specified by:
toSortedListin interfaceRichIterable<K>
-
toSortedSet
public MutableSortedSet<V> toSortedSet()
- Specified by:
toSortedSetin interfaceRichIterable<K>
-
toSortedSet
public MutableSortedSet<V> toSortedSet(Comparator<? super V> comparator)
- Specified by:
toSortedSetin interfaceRichIterable<K>
-
chunk
public RichIterable<RichIterable<V>> chunk(int size)
- Specified by:
chunkin interfaceRichIterable<K>
-
collect
public <R,C extends Collection<R>> C collect(Function<? super V,? extends R> function, C target)
- 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 extends Collection<R>> C collectWith(Function2<? super V,? super P,? extends R> function, P parameter, C targetCollection)
- Specified by:
collectWithin interfaceRichIterable<K>
-
contains
public boolean contains(Object object)
- Specified by:
containsin interfaceRichIterable<K>
-
containsAllArguments
public boolean containsAllArguments(Object... elements)
- Specified by:
containsAllArgumentsin interfaceRichIterable<K>
-
containsAllIterable
public boolean containsAllIterable(Iterable<?> source)
- Specified by:
containsAllIterablein interfaceRichIterable<K>
-
containsAll
public boolean containsAll(Collection<?> source)
- Specified by:
containsAllin interfaceRichIterable<K>
-
count
public int count(Predicate<? super V> predicate)
- Specified by:
countin interfaceRichIterable<K>
-
countWith
public <P> int countWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
countWithin interfaceRichIterable<K>
-
detect
public V detect(Predicate<? super V> predicate)
- Specified by:
detectin interfaceRichIterable<K>
-
detectWith
public <P> V detectWith(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
detectWithin interfaceRichIterable<K>
-
detectOptional
public Optional<V> detectOptional(Predicate<? super V> predicate)
- Specified by:
detectOptionalin interfaceRichIterable<K>
-
detectWithOptional
public <P> Optional<V> detectWithOptional(Predicate2<? super V,? super P> predicate, P parameter)
- Specified by:
detectWithOptionalin interfaceRichIterable<K>
-
detectIfNone
public V detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
- 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
public V getFirst()
- Specified by:
getFirstin interfaceRichIterable<K>
-
getLast
public V getLast()
- Specified by:
getLastin interfaceRichIterable<K>
-
getOnly
public V getOnly()
- Specified by:
getOnlyin interfaceRichIterable<K>
-
groupBy
public <R> MutableBagMultimap<R,V> groupBy(Function<? super V,? extends R> function)
- 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,V>> C groupBy(Function<? super V,? extends R> function, C target)
- Specified by:
groupByin interfaceRichIterable<K>
-
groupByEach
public <R> MutableBagMultimap<R,V> groupByEach(Function<? super V,? extends Iterable<R>> function)
- 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,V>> C groupByEach(Function<? super V,? extends Iterable<R>> function, C target)
- Specified by:
groupByEachin interfaceRichIterable<K>
-
groupByUniqueKey
public <VV> MutableMap<VV,V> groupByUniqueKey(Function<? super V,? extends VV> function)
- 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,V>> R groupByUniqueKey(Function<? super V,? extends VV> function, R target)
- Specified by:
groupByUniqueKeyin interfaceRichIterable<K>
-
injectInto
public <IV> IV injectInto(IV injectedValue, Function2<? super IV,? super V,? extends IV> function)- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
public int injectInto(int injectedValue, IntObjectToIntFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
public long injectInto(long injectedValue, LongObjectToLongFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
public double injectInto(double injectedValue, DoubleObjectToDoubleFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<K>
-
injectInto
public float injectInto(float injectedValue, FloatObjectToFloatFunction<? super V> function)- Specified by:
injectIntoin interfaceRichIterable<K>
-
sumOfInt
public long sumOfInt(IntFunction<? super V> function)
- Specified by:
sumOfIntin interfaceRichIterable<K>
-
sumOfFloat
public double sumOfFloat(FloatFunction<? super V> function)
- Specified by:
sumOfFloatin interfaceRichIterable<K>
-
sumOfLong
public long sumOfLong(LongFunction<? super V> function)
- Specified by:
sumOfLongin interfaceRichIterable<K>
-
sumOfDouble
public double sumOfDouble(DoubleFunction<? super V> function)
- 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
public String makeString()
- Specified by:
makeStringin interfaceRichIterable<K>
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfaceRichIterable<K>
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfaceRichIterable<K>
-
max
public V max()
- Specified by:
maxin interfaceRichIterable<K>
-
max
public V max(Comparator<? super V> comparator)
- Specified by:
maxin interfaceRichIterable<K>
-
maxBy
public <R extends Comparable<? super R>> V maxBy(Function<? super V,? extends R> function)
- Specified by:
maxByin interfaceRichIterable<K>
-
min
public V min()
- Specified by:
minin interfaceRichIterable<K>
-
min
public V min(Comparator<? super V> comparator)
- Specified by:
minin interfaceRichIterable<K>
-
minBy
public <R extends Comparable<? super R>> V minBy(Function<? super V,? extends R> function)
- Specified by:
minByin interfaceRichIterable<K>
-
toArray
public Object[] toArray()
- Specified by:
toArrayin interfaceRichIterable<K>
-
toArray
public <T> T[] toArray(T[] a)
- Specified by:
toArrayin interfaceRichIterable<K>
-
zip
public <S,R extends Collection<Pair<V,S>>> R zip(Iterable<S> that, R target)
- Specified by:
zipin interfaceRichIterable<K>
-
zipWithIndex
public <R extends Collection<Pair<V,Integer>>> R zipWithIndex(R target)
- Specified by:
zipWithIndexin interfaceRichIterable<K>
-
collect
public <R> MutableBag<R> collect(Function<? super V,? extends R> function)
- Specified by:
collectin interfaceMutableMap<K,V>- Specified by:
collectin interfaceRichIterable<K>- Specified by:
collectin interfaceUnsortedMapIterable<K,V>
-
collectBoolean
public MutableBooleanBag collectBoolean(BooleanFunction<? super V> booleanFunction)
- 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
public MutableByteBag collectByte(ByteFunction<? super V> byteFunction)
- 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
public MutableCharBag collectChar(CharFunction<? super V> charFunction)
- 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
public MutableDoubleBag collectDouble(DoubleFunction<? super V> doubleFunction)
- 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
public MutableFloatBag collectFloat(FloatFunction<? super V> floatFunction)
- 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
public MutableIntBag collectInt(IntFunction<? super V> intFunction)
- Specified by:
collectIntin interfaceMutableMap<K,V>- Specified by:
collectIntin interfaceRichIterable<K>- Specified by:
collectIntin interfaceUnsortedMapIterable<K,V>
-
collectInt
public <R extends MutableIntCollection> R collectInt(IntFunction<? super V> intFunction, R target)
- 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
public MutableLongBag collectLong(LongFunction<? super V> longFunction)
- 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
public MutableShortBag collectShort(ShortFunction<? super V> shortFunction)
- 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
public <R> MutableBag<R> flatCollect(Function<? super V,? extends Iterable<R>> function)
- Specified by:
flatCollectin interfaceMutableMap<K,V>- Specified by:
flatCollectin interfaceRichIterable<K>- Specified by:
flatCollectin interfaceUnsortedMapIterable<K,V>
-
select
public MutableBag<V> select(Predicate<? super V> predicate)
- Specified by:
selectin interfaceMutableMap<K,V>- Specified by:
selectin interfaceMutableMapIterable<K,V>- Specified by:
selectin interfaceRichIterable<K>- Specified by:
selectin interfaceUnsortedMapIterable<K,V>
-
select
public <R extends Collection<V>> R select(Predicate<? super V> predicate, R target)
- Specified by:
selectin interfaceRichIterable<K>
-
selectWith
public <P> MutableBag<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
- 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
public MutableBag<V> reject(Predicate<? super V> predicate)
- Specified by:
rejectin interfaceMutableMap<K,V>- Specified by:
rejectin interfaceMutableMapIterable<K,V>- Specified by:
rejectin interfaceRichIterable<K>- Specified by:
rejectin interfaceUnsortedMapIterable<K,V>
-
reject
public <R extends Collection<V>> R reject(Predicate<? super V> predicate, R target)
- Specified by:
rejectin interfaceRichIterable<K>
-
rejectWith
public <P> MutableBag<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
- 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
public <S> MutableBag<S> selectInstancesOf(Class<S> clazz)
- Specified by:
selectInstancesOfin interfaceMutableMap<K,V>- Specified by:
selectInstancesOfin interfaceMutableMapIterable<K,V>- Specified by:
selectInstancesOfin interfaceRichIterable<K>- Specified by:
selectInstancesOfin interfaceUnsortedMapIterable<K,V>
-
partition
public PartitionMutableBag<V> partition(Predicate<? super V> predicate)
- 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 public <S> MutableBag<Pair<V,S>> zip(Iterable<S> that)
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 public MutableSet<Pair<V,Integer>> 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>
-
-