Class OrderedMapAdapter<K,V>
java.lang.Object
org.eclipse.collections.impl.AbstractRichIterable<V>
org.eclipse.collections.impl.map.AbstractMapIterable<K,V>
org.eclipse.collections.impl.map.ordered.mutable.OrderedMapAdapter<K,V>
- All Implemented Interfaces:
Serializable,Iterable<V>,Map<K,,V> InternalIterable<V>,MapIterable<K,,V> MutableMapIterable<K,,V> MutableOrderedMap<K,,V> OrderedMap<K,,V> OrderedIterable<V>,ReversibleIterable<V>,RichIterable<V>
public class OrderedMapAdapter<K,V>
extends AbstractMapIterable<K,V>
implements MutableOrderedMap<K,V>, Serializable
- Since:
- 9.2
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> MutableOrderedMap<K, V> <K1,V1, V2> MutableOrderedMap<K1, V2> aggregateBy(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <KK,VV> MutableOrderedMap<KK, VV> aggregateBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <KK,VV> MutableOrderedMap<KK, VV> aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) voidclear()clone()<R> MutableList<R><K2,V2> MutableOrderedMap<K2, V2> collectBoolean(BooleanFunction<? super V> booleanFunction) collectByte(ByteFunction<? super V> byteFunction) collectChar(CharFunction<? super V> charFunction) collectDouble(DoubleFunction<? super V> doubleFunction) collectFloat(FloatFunction<? super V> floatFunction) <R> MutableList<R>collectInt(IntFunction<? super V> intFunction) <R> MutableOrderedMap<R,V> collectKeysUnique(Function2<? super K, ? super V, ? extends R> function) collectLong(LongFunction<? super V> longFunction) collectShort(ShortFunction<? super V> shortFunction) <R> MutableOrderedMap<K,R> collectValues(Function2<? super K, ? super V, ? extends R> function) <P,VV> MutableList<VV> collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) booleancontainsKey(Object key) booleancontainsValue(Object value) <S> booleancorresponds(OrderedIterable<S> other, Predicate2<? super V, ? super S> predicate) <V1> MutableBag<V1><V1> MutableBag<V1>countByEach(Function<? super V, ? extends Iterable<V1>> function) <V1,P> MutableBag<V1> countByWith(Function2<? super V, ? super P, ? extends V1> function, P parameter) detect(Predicate2<? super K, ? super V> predicate) intdetectIndex(Predicate<? super V> predicate) intdetectLastIndex(Predicate<? super V> predicate) detectOptional(Predicate2<? super K, ? super V> predicate) distinct()drop(int count) entrySet()boolean<R> MutableList<R>flatCollect(Function<? super V, ? extends Iterable<R>> function) flip()voidvoidforEachKeyValue(Procedure2<? super K, ? super V> procedure) voidforEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super V> objectIntProcedure) 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) <VV> MutableListMultimap<VV,V> <VV> MutableListMultimap<VV,V> groupByEach(Function<? super V, ? extends Iterable<VV>> function) <VV> MutableOrderedMap<VV,V> groupByUniqueKey(Function<? super V, ? extends VV> function) inthashCode()booleanisEmpty()iterator()keySet()keysView()RichIterable<Pair<K,V>> newEmpty()partitionWhile(Predicate<? super V> predicate) <P> PartitionMutableList<V>partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) voidvoidputAllMapIterable(MapIterable<? extends K, ? extends V> mapIterable) <KK> MutableOrderedMap<KK,V> reduceBy(Function<? super V, ? extends KK> groupBy, Function2<? super V, ? super V, ? extends V> reduceFunction) reject(Predicate2<? super K, ? super V> predicate) <P> MutableList<V>rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) select(Predicate2<? super K, ? super V> predicate) <S> MutableList<S>selectInstancesOf(Class<S> clazz) <P> MutableList<V>selectWith(Predicate2<? super V, ? super P> predicate, P parameter) 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) take(int count) toStack()toString()Returns a string with the elements of the iterable separated by commas with spaces and enclosed in square brackets.<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>... keyValues) 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> MutableList<Pair<V,S>> Methods inherited from class org.eclipse.collections.impl.map.AbstractMapIterable
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, asLazy, chunk, contains, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, forEachKey, forEachValue, forEachWith, forEachWithIndex, getFirst, getIfAbsent, getIfAbsentValue, getIfAbsentWith, getLast, getOnly, getOrDefault, ifPresentApply, noneSatisfy, noneSatisfyWith, toArray, toArrayMethods inherited from class org.eclipse.collections.impl.AbstractRichIterable
appendString, appendString, collect, collectIf, collectWith, containsAll, containsAllArguments, containsAllIterable, count, countWith, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, max, max, maxBy, min, min, minBy, reject, rejectWith, select, selectWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toBiMap, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexMethods inherited from interface org.eclipse.collections.api.InternalIterable
forEach, forEachWithMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from interface org.eclipse.collections.api.map.MapIterable
forEachKey, forEachValue, getIfAbsent, getIfAbsentValue, getIfAbsentWith, ifPresentApply, injectIntoKeyValue, parallelStream, spliterator, streamMethods inherited from interface org.eclipse.collections.api.map.MutableMapIterable
add, forEach, getOrDefault, putPair, removeAllKeys, removeIfMethods inherited from interface org.eclipse.collections.api.map.MutableOrderedMap
flatCollectWithMethods inherited from interface org.eclipse.collections.api.ordered.OrderedIterable
collectWithIndex, forEachWithIndex, getFirst, getFirstOptional, getLast, getLastOptional, indexOf, max, min, rejectWithIndex, selectWithIndex, zip, zipWithIndexMethods inherited from interface org.eclipse.collections.api.ordered.ReversibleIterable
asReversed, collectWithIndex, reverseForEach, reverseForEachWithIndexMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, makeString, makeString, makeString, makeString, max, maxBy, maxByOptional, maxOptional, maxOptional, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceBy, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy
-
Method Details
-
adapt
-
equals
-
hashCode
public int hashCode() -
newEmpty
- Specified by:
newEmptyin interfaceMutableMapIterable<K,V> - Specified by:
newEmptyin interfaceMutableOrderedMap<K,V>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceMapIterable<K,V>
-
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>
-
size
public int size() -
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap<K,V> - Specified by:
isEmptyin interfaceRichIterable<K>- Overrides:
isEmptyin classAbstractRichIterable<V>
-
iterator
-
remove
-
putAll
-
values
-
entrySet
-
keySet
-
clear
public void clear() -
get
-
put
-
merge
-
removeKey
- Specified by:
removeKeyin interfaceMutableMapIterable<K,V>
-
toString
Description copied from class:AbstractRichIterableReturns a string with the elements of the iterable separated by commas with spaces and enclosed in square brackets.Assert.assertEquals("[]", Lists.mutable.empty().toString()); Assert.assertEquals("[1]", Lists.mutable.with(1).toString()); Assert.assertEquals("[1, 2, 3]", Lists.mutable.with(1, 2, 3).toString());- Specified by:
toStringin interfaceMapIterable<K,V> - Specified by:
toStringin interfaceRichIterable<K>- Overrides:
toStringin classAbstractRichIterable<V>- Returns:
- a string representation of this collection.
- See Also:
-
clone
-
toReversed
- Specified by:
toReversedin interfaceMutableOrderedMap<K,V> - Specified by:
toReversedin interfaceOrderedMap<K,V> - Specified by:
toReversedin interfaceReversibleIterable<K>
-
take
- Specified by:
takein interfaceMutableOrderedMap<K,V> - Specified by:
takein interfaceOrderedMap<K,V> - Specified by:
takein interfaceReversibleIterable<K>
-
takeWhile
- Specified by:
takeWhilein interfaceMutableOrderedMap<K,V> - Specified by:
takeWhilein interfaceOrderedIterable<K>- Specified by:
takeWhilein interfaceOrderedMap<K,V> - Specified by:
takeWhilein interfaceReversibleIterable<K>
-
drop
- Specified by:
dropin interfaceMutableOrderedMap<K,V> - Specified by:
dropin interfaceOrderedMap<K,V> - Specified by:
dropin interfaceReversibleIterable<K>
-
dropWhile
- Specified by:
dropWhilein interfaceMutableOrderedMap<K,V> - Specified by:
dropWhilein interfaceOrderedIterable<K>- Specified by:
dropWhilein interfaceOrderedMap<K,V> - Specified by:
dropWhilein interfaceReversibleIterable<K>
-
partitionWhile
- Specified by:
partitionWhilein interfaceMutableOrderedMap<K,V> - Specified by:
partitionWhilein interfaceOrderedIterable<K>- Specified by:
partitionWhilein interfaceOrderedMap<K,V> - Specified by:
partitionWhilein interfaceReversibleIterable<K>
-
distinct
- Specified by:
distinctin interfaceMutableOrderedMap<K,V> - Specified by:
distinctin interfaceOrderedIterable<K>- Specified by:
distinctin interfaceOrderedMap<K,V> - Specified by:
distinctin interfaceReversibleIterable<K>
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableMapIterable<K,V> - Specified by:
withKeyValuein interfaceMutableOrderedMap<K,V>
-
withMap
- Specified by:
withMapin interfaceMutableMapIterable<K,V> - Specified by:
withMapin interfaceMutableOrderedMap<K,V>
-
withMapIterable
- Specified by:
withMapIterablein interfaceMutableMapIterable<K,V> - Specified by:
withMapIterablein interfaceMutableOrderedMap<K,V>
-
putAllMapIterable
- Specified by:
putAllMapIterablein interfaceMutableMapIterable<K,V>
-
withAllKeyValues
public MutableOrderedMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) - Specified by:
withAllKeyValuesin interfaceMutableMapIterable<K,V> - Specified by:
withAllKeyValuesin interfaceMutableOrderedMap<K,V>
-
withAllKeyValueArguments
- Specified by:
withAllKeyValueArgumentsin interfaceMutableMapIterable<K,V> - Specified by:
withAllKeyValueArgumentsin interfaceMutableOrderedMap<K,V>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableMapIterable<K,V> - Specified by:
withoutKeyin interfaceMutableOrderedMap<K,V>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableMapIterable<K,V> - Specified by:
withoutAllKeysin interfaceMutableOrderedMap<K,V>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableMapIterable<K,V> - Specified by:
asUnmodifiablein interfaceMutableOrderedMap<K,V>
-
toImmutable
- Specified by:
toImmutablein interfaceMapIterable<K,V> - Specified by:
toImmutablein interfaceMutableMapIterable<K,V> - Specified by:
toImmutablein interfaceOrderedMap<K,V>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableMapIterable<K,V>
-
flip
- Specified by:
flipin interfaceMapIterable<K,V> - Specified by:
flipin interfaceMutableMapIterable<K,V> - Specified by:
flipin interfaceMutableOrderedMap<K,V> - Specified by:
flipin interfaceOrderedMap<K,V>
-
collectBoolean
- Specified by:
collectBooleanin interfaceMutableOrderedMap<K,V> - Specified by:
collectBooleanin interfaceOrderedIterable<K>- Specified by:
collectBooleanin interfaceOrderedMap<K,V> - Specified by:
collectBooleanin interfaceReversibleIterable<K>- Specified by:
collectBooleanin interfaceRichIterable<K>
-
collectByte
- Specified by:
collectBytein interfaceMutableOrderedMap<K,V> - Specified by:
collectBytein interfaceOrderedIterable<K>- Specified by:
collectBytein interfaceOrderedMap<K,V> - Specified by:
collectBytein interfaceReversibleIterable<K>- Specified by:
collectBytein interfaceRichIterable<K>
-
collectChar
- Specified by:
collectCharin interfaceMutableOrderedMap<K,V> - Specified by:
collectCharin interfaceOrderedIterable<K>- Specified by:
collectCharin interfaceOrderedMap<K,V> - Specified by:
collectCharin interfaceReversibleIterable<K>- Specified by:
collectCharin interfaceRichIterable<K>
-
collectDouble
- Specified by:
collectDoublein interfaceMutableOrderedMap<K,V> - Specified by:
collectDoublein interfaceOrderedIterable<K>- Specified by:
collectDoublein interfaceOrderedMap<K,V> - Specified by:
collectDoublein interfaceReversibleIterable<K>- Specified by:
collectDoublein interfaceRichIterable<K>
-
collectFloat
- Specified by:
collectFloatin interfaceMutableOrderedMap<K,V> - Specified by:
collectFloatin interfaceOrderedIterable<K>- Specified by:
collectFloatin interfaceOrderedMap<K,V> - Specified by:
collectFloatin interfaceReversibleIterable<K>- Specified by:
collectFloatin interfaceRichIterable<K>
-
collectInt
- Specified by:
collectIntin interfaceMutableOrderedMap<K,V> - Specified by:
collectIntin interfaceOrderedIterable<K>- Specified by:
collectIntin interfaceOrderedMap<K,V> - Specified by:
collectIntin interfaceReversibleIterable<K>- Specified by:
collectIntin interfaceRichIterable<K>
-
collectLong
- Specified by:
collectLongin interfaceMutableOrderedMap<K,V> - Specified by:
collectLongin interfaceOrderedIterable<K>- Specified by:
collectLongin interfaceOrderedMap<K,V> - Specified by:
collectLongin interfaceReversibleIterable<K>- Specified by:
collectLongin interfaceRichIterable<K>
-
collectShort
- Specified by:
collectShortin interfaceMutableOrderedMap<K,V> - Specified by:
collectShortin interfaceOrderedIterable<K>- Specified by:
collectShortin interfaceOrderedMap<K,V> - Specified by:
collectShortin interfaceReversibleIterable<K>- Specified by:
collectShortin interfaceRichIterable<K>
-
collectValues
public <R> MutableOrderedMap<K,R> collectValues(Function2<? super K, ? super V, ? extends R> function) - Specified by:
collectValuesin interfaceMapIterable<K,V> - Specified by:
collectValuesin interfaceMutableMapIterable<K,V> - Specified by:
collectValuesin interfaceMutableOrderedMap<K,V> - Specified by:
collectValuesin interfaceOrderedMap<K,V>
-
collectKeysUnique
public <R> MutableOrderedMap<R,V> collectKeysUnique(Function2<? super K, ? super V, ? extends R> function) - Specified by:
collectKeysUniquein interfaceMapIterable<K,V> - Specified by:
collectKeysUniquein interfaceMutableMapIterable<K,V> - Specified by:
collectKeysUniquein interfaceMutableOrderedMap<K,V>
-
tap
- Specified by:
tapin interfaceMapIterable<K,V> - Specified by:
tapin interfaceMutableMapIterable<K,V> - Specified by:
tapin interfaceMutableOrderedMap<K,V> - Specified by:
tapin interfaceOrderedIterable<K>- Specified by:
tapin interfaceOrderedMap<K,V> - Specified by:
tapin interfaceReversibleIterable<K>- Specified by:
tapin interfaceRichIterable<K>
-
select
- Specified by:
selectin interfaceMapIterable<K,V> - Specified by:
selectin interfaceMutableMapIterable<K,V> - Specified by:
selectin interfaceMutableOrderedMap<K,V> - Specified by:
selectin interfaceOrderedMap<K,V>
-
reject
- Specified by:
rejectin interfaceMapIterable<K,V> - Specified by:
rejectin interfaceMutableMapIterable<K,V> - Specified by:
rejectin interfaceMutableOrderedMap<K,V> - Specified by:
rejectin interfaceOrderedMap<K,V>
-
collect
- Specified by:
collectin interfaceMutableOrderedMap<K,V> - Specified by:
collectin interfaceOrderedIterable<K>- Specified by:
collectin interfaceOrderedMap<K,V> - Specified by:
collectin interfaceReversibleIterable<K>- Specified by:
collectin interfaceRichIterable<K>
-
collectWith
public <P,VV> MutableList<VV> collectWith(Function2<? super V, ? super P, ? extends VV> function, P parameter) - Specified by:
collectWithin interfaceMutableOrderedMap<K,V> - Specified by:
collectWithin interfaceOrderedIterable<K>- Specified by:
collectWithin interfaceOrderedMap<K,V> - Specified by:
collectWithin interfaceReversibleIterable<K>- Specified by:
collectWithin interfaceRichIterable<K>
-
collectIf
public <R> MutableList<R> collectIf(Predicate<? super V> predicate, Function<? super V, ? extends R> function) - Specified by:
collectIfin interfaceMutableOrderedMap<K,V> - Specified by:
collectIfin interfaceOrderedIterable<K>- Specified by:
collectIfin interfaceOrderedMap<K,V> - Specified by:
collectIfin interfaceReversibleIterable<K>- Specified by:
collectIfin interfaceRichIterable<K>
-
flatCollect
- Specified by:
flatCollectin interfaceMutableOrderedMap<K,V> - Specified by:
flatCollectin interfaceOrderedIterable<K>- Specified by:
flatCollectin interfaceOrderedMap<K,V> - Specified by:
flatCollectin interfaceReversibleIterable<K>- Specified by:
flatCollectin interfaceRichIterable<K>
-
select
- Specified by:
selectin interfaceMutableMapIterable<K,V> - Specified by:
selectin interfaceMutableOrderedMap<K,V> - Specified by:
selectin interfaceOrderedIterable<K>- Specified by:
selectin interfaceOrderedMap<K,V> - Specified by:
selectin interfaceReversibleIterable<K>- Specified by:
selectin interfaceRichIterable<K>
-
reject
- Specified by:
rejectin interfaceMutableMapIterable<K,V> - Specified by:
rejectin interfaceMutableOrderedMap<K,V> - Specified by:
rejectin interfaceOrderedIterable<K>- Specified by:
rejectin interfaceOrderedMap<K,V> - Specified by:
rejectin interfaceReversibleIterable<K>- Specified by:
rejectin interfaceRichIterable<K>
-
selectWith
- Specified by:
selectWithin interfaceMutableMapIterable<K,V> - Specified by:
selectWithin interfaceMutableOrderedMap<K,V> - Specified by:
selectWithin interfaceOrderedIterable<K>- Specified by:
selectWithin interfaceOrderedMap<K,V> - Specified by:
selectWithin interfaceReversibleIterable<K>- Specified by:
selectWithin interfaceRichIterable<K>
-
rejectWith
- Specified by:
rejectWithin interfaceMutableMapIterable<K,V> - Specified by:
rejectWithin interfaceMutableOrderedMap<K,V> - Specified by:
rejectWithin interfaceOrderedIterable<K>- Specified by:
rejectWithin interfaceOrderedMap<K,V> - Specified by:
rejectWithin interfaceReversibleIterable<K>- Specified by:
rejectWithin interfaceRichIterable<K>
-
partition
- Specified by:
partitionin interfaceMutableMapIterable<K,V> - Specified by:
partitionin interfaceMutableOrderedMap<K,V> - Specified by:
partitionin interfaceOrderedIterable<K>- Specified by:
partitionin interfaceOrderedMap<K,V> - Specified by:
partitionin interfaceReversibleIterable<K>- Specified by:
partitionin interfaceRichIterable<K>
-
partitionWith
public <P> PartitionMutableList<V> partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) - Specified by:
partitionWithin interfaceMutableOrderedMap<K,V> - Specified by:
partitionWithin interfaceOrderedIterable<K>- Specified by:
partitionWithin interfaceOrderedMap<K,V> - Specified by:
partitionWithin interfaceReversibleIterable<K>- Specified by:
partitionWithin interfaceRichIterable<K>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceMutableMapIterable<K,V> - Specified by:
selectInstancesOfin interfaceMutableOrderedMap<K,V> - Specified by:
selectInstancesOfin interfaceOrderedIterable<K>- Specified by:
selectInstancesOfin interfaceOrderedMap<K,V> - Specified by:
selectInstancesOfin interfaceReversibleIterable<K>- Specified by:
selectInstancesOfin interfaceRichIterable<K>
-
zip
- Specified by:
zipin interfaceMutableMapIterable<K,V> - Specified by:
zipin interfaceMutableOrderedMap<K,V> - Specified by:
zipin interfaceOrderedIterable<K>- Specified by:
zipin interfaceOrderedMap<K,V> - Specified by:
zipin interfaceReversibleIterable<K>- Specified by:
zipin interfaceRichIterable<K>
-
zipWithIndex
- Specified by:
zipWithIndexin interfaceMutableMapIterable<K,V> - Specified by:
zipWithIndexin interfaceMutableOrderedMap<K,V> - Specified by:
zipWithIndexin interfaceOrderedIterable<K>- Specified by:
zipWithIndexin interfaceOrderedMap<K,V> - Specified by:
zipWithIndexin interfaceReversibleIterable<K>- Specified by:
zipWithIndexin interfaceRichIterable<K>
-
groupBy
- Specified by:
groupByin interfaceMutableMapIterable<K,V> - Specified by:
groupByin interfaceMutableOrderedMap<K,V> - Specified by:
groupByin interfaceOrderedIterable<K>- Specified by:
groupByin interfaceOrderedMap<K,V> - Specified by:
groupByin interfaceReversibleIterable<K>- Specified by:
groupByin interfaceRichIterable<K>
-
groupByEach
public <VV> MutableListMultimap<VV,V> groupByEach(Function<? super V, ? extends Iterable<VV>> function) - Specified by:
groupByEachin interfaceMutableMapIterable<K,V> - Specified by:
groupByEachin interfaceMutableOrderedMap<K,V> - Specified by:
groupByEachin interfaceOrderedIterable<K>- Specified by:
groupByEachin interfaceOrderedMap<K,V> - Specified by:
groupByEachin interfaceReversibleIterable<K>- Specified by:
groupByEachin interfaceRichIterable<K>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceMutableMapIterable<K,V> - Specified by:
groupByUniqueKeyin interfaceMutableOrderedMap<K,V> - Specified by:
groupByUniqueKeyin interfaceOrderedMap<K,V> - Specified by:
groupByUniqueKeyin interfaceRichIterable<K>
-
aggregateInPlaceBy
public <KK,VV> MutableOrderedMap<KK,VV> aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) - Specified by:
aggregateInPlaceByin interfaceMutableMapIterable<K,V> - Specified by:
aggregateInPlaceByin interfaceMutableOrderedMap<K,V> - Specified by:
aggregateInPlaceByin interfaceRichIterable<K>
-
aggregateBy
public <KK,VV> MutableOrderedMap<KK,VV> aggregateBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) - Specified by:
aggregateByin interfaceMutableMapIterable<K,V> - Specified by:
aggregateByin interfaceMutableOrderedMap<K,V> - Specified by:
aggregateByin interfaceRichIterable<K>
-
aggregateBy
public <K1,V1, MutableOrderedMap<K1,V2> V2> aggregateBy(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) - Specified by:
aggregateByin interfaceMapIterable<K,V> - Specified by:
aggregateByin interfaceMutableMapIterable<K,V> - Specified by:
aggregateByin interfaceMutableOrderedMap<K,V>
-
reduceBy
public <KK> MutableOrderedMap<KK,V> reduceBy(Function<? super V, ? extends KK> groupBy, Function2<? super V, ? super V, ? extends V> reduceFunction) - Specified by:
reduceByin interfaceMutableMapIterable<K,V> - Specified by:
reduceByin interfaceMutableOrderedMap<K,V> - Specified by:
reduceByin interfaceRichIterable<K>
-
detectLastIndex
- Specified by:
detectLastIndexin interfaceReversibleIterable<K>
-
corresponds
- Specified by:
correspondsin interfaceOrderedIterable<K>
-
forEach
- Specified by:
forEachin interfaceOrderedIterable<K>
-
forEachWithIndex
public void forEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super V> objectIntProcedure) - Specified by:
forEachWithIndexin interfaceOrderedIterable<K>
-
toStack
- Specified by:
toStackin interfaceOrderedIterable<K>
-
detectIndex
- Specified by:
detectIndexin interfaceOrderedIterable<K>
-
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>
-
keysView
- Specified by:
keysViewin interfaceMapIterable<K,V>
-
valuesView
- Specified by:
valuesViewin interfaceMapIterable<K,V>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceMapIterable<K,V>
-
collect
public <K2,V2> MutableOrderedMap<K2,V2> collect(Function2<? super K, ? super V, Pair<K2, V2>> function) - Specified by:
collectin interfaceMapIterable<K,V> - Specified by:
collectin interfaceMutableMapIterable<K,V> - Specified by:
collectin interfaceMutableOrderedMap<K,V> - Specified by:
collectin interfaceOrderedMap<K,V>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMapIterable<K,V> - Specified by:
flipUniqueValuesin interfaceMutableMapIterable<K,V> - Specified by:
flipUniqueValuesin interfaceMutableOrderedMap<K,V> - Specified by:
flipUniqueValuesin interfaceOrderedMap<K,V>
-
detect
- Specified by:
detectin interfaceMapIterable<K,V>
-
detectOptional
- Specified by:
detectOptionalin interfaceMapIterable<K,V>
-
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>
-
countBy
- Specified by:
countByin interfaceMutableMapIterable<K,V> - Specified by:
countByin interfaceRichIterable<K>
-
countByWith
public <V1,P> MutableBag<V1> countByWith(Function2<? super V, ? super P, ? extends V1> function, P parameter) - Specified by:
countByWithin interfaceMutableMapIterable<K,V> - Specified by:
countByWithin interfaceRichIterable<K>
-
countByEach
- Specified by:
countByEachin interfaceMutableMapIterable<K,V> - Specified by:
countByEachin interfaceRichIterable<K>- Overrides:
countByEachin classAbstractRichIterable<V>- Since:
- 10.0.0
-