public class OrderedMapAdapter<K,V> extends AbstractMapIterable<K,V> implements MutableOrderedMap<K,V>, Serializable
| Modifier and Type | Method and Description |
|---|---|
static <K,V> MutableOrderedMap<K,V> |
adapt(Map<K,V> map) |
LazyIterable<V> |
asReversed() |
MutableOrderedMap<K,V> |
asSynchronized() |
MutableOrderedMap<K,V> |
asUnmodifiable() |
void |
clear() |
MutableOrderedMap<K,V> |
clone() |
<R> MutableList<R> |
collect(Function<? super V,? extends R> function) |
<K2,V2> MutableOrderedMap<K2,V2> |
collect(Function2<? super K,? super V,Pair<K2,V2>> function) |
MutableBooleanList |
collectBoolean(BooleanFunction<? super V> booleanFunction) |
MutableByteList |
collectByte(ByteFunction<? super V> byteFunction) |
MutableCharList |
collectChar(CharFunction<? super V> charFunction) |
MutableDoubleList |
collectDouble(DoubleFunction<? super V> doubleFunction) |
MutableFloatList |
collectFloat(FloatFunction<? super V> floatFunction) |
<R> MutableList<R> |
collectIf(Predicate<? super V> predicate,
Function<? super V,? extends R> function) |
MutableIntList |
collectInt(IntFunction<? super V> intFunction) |
MutableLongList |
collectLong(LongFunction<? super V> longFunction) |
MutableShortList |
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) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
<S> boolean |
corresponds(OrderedIterable<S> other,
Predicate2<? super V,? super S> predicate) |
<V1> MutableBag<V1> |
countBy(Function<? super V,? extends V1> function) |
<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) |
Pair<K,V> |
detect(Predicate2<? super K,? super V> predicate) |
int |
detectIndex(Predicate<? super V> predicate) |
int |
detectLastIndex(Predicate<? super V> predicate) |
Optional<Pair<K,V>> |
detectOptional(Predicate2<? super K,? super V> predicate) |
MutableList<V> |
distinct() |
MutableOrderedMap<K,V> |
drop(int count) |
MutableOrderedMap<K,V> |
dropWhile(Predicate<? super V> predicate) |
MutableSet<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
<R> MutableList<R> |
flatCollect(Function<? super V,? extends Iterable<R>> function) |
MutableListMultimap<V,K> |
flip() |
MutableOrderedMap<V,K> |
flipUniqueValues() |
void |
forEach(int startIndex,
int endIndex,
Procedure<? super V> procedure) |
void |
forEachKeyValue(Procedure2<? super K,? super V> procedure) |
void |
forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super V> objectIntProcedure) |
V |
get(Object key) |
V |
getIfAbsentPut(K key,
Function0<? extends V> function) |
V |
getIfAbsentPut(K key,
V value) |
<P> V |
getIfAbsentPutWith(K key,
Function<? super P,? extends V> function,
P parameter) |
V |
getIfAbsentPutWithKey(K key,
Function<? super K,? extends V> function) |
<VV> MutableListMultimap<VV,V> |
groupBy(Function<? super V,? extends VV> function) |
<VV> MutableListMultimap<VV,V> |
groupByEach(Function<? super V,? extends Iterable<VV>> function) |
<VV> MutableOrderedMap<VV,V> |
groupByUniqueKey(Function<? super V,? extends VV> function) |
int |
hashCode() |
int |
indexOf(Object object) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
MutableSet<K> |
keySet() |
RichIterable<K> |
keysView() |
RichIterable<Pair<K,V>> |
keyValuesView() |
MutableOrderedMap<K,V> |
newEmpty() |
PartitionMutableList<V> |
partition(Predicate<? super V> predicate) |
PartitionMutableList<V> |
partitionWhile(Predicate<? super V> predicate) |
<P> PartitionMutableList<V> |
partitionWith(Predicate2<? super V,? super P> predicate,
P parameter) |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> map) |
void |
putAllMapIterable(MapIterable<? extends K,? extends V> mapIterable) |
MutableList<V> |
reject(Predicate<? super V> predicate) |
MutableOrderedMap<K,V> |
reject(Predicate2<? super K,? super V> predicate) |
<P> MutableList<V> |
rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
V |
remove(Object key) |
V |
removeKey(K key) |
MutableList<V> |
select(Predicate<? super V> predicate) |
MutableOrderedMap<K,V> |
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) |
int |
size() |
<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) |
MutableOrderedMap<K,V> |
take(int count) |
MutableOrderedMap<K,V> |
takeWhile(Predicate<? super V> predicate) |
MutableOrderedMap<K,V> |
tap(Procedure<? super V> procedure) |
ImmutableOrderedMap<K,V> |
toImmutable() |
MutableOrderedMap<K,V> |
toReversed() |
MutableStack<V> |
toStack() |
String |
toString()
Returns a string with the elements of the iterable separated by commas with spaces and
enclosed in square brackets.
|
V |
updateValue(K key,
Function0<? extends V> factory,
Function<? super V,? extends V> function) |
<P> V |
updateValueWith(K key,
Function0<? extends V> factory,
Function2<? super V,? super P,? extends V> function,
P parameter) |
MutableCollection<V> |
values() |
RichIterable<V> |
valuesView() |
MutableOrderedMap<K,V> |
withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValues) |
MutableOrderedMap<K,V> |
withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues) |
MutableOrderedMap<K,V> |
withKeyValue(K key,
V value) |
MutableOrderedMap<K,V> |
withMap(Map<? extends K,? extends V> map) |
MutableOrderedMap<K,V> |
withMapIterable(MapIterable<? extends K,? extends V> mapIterable) |
MutableOrderedMap<K,V> |
withoutAllKeys(Iterable<? extends K> keys) |
MutableOrderedMap<K,V> |
withoutKey(K key) |
<S> MutableList<Pair<V,S>> |
zip(Iterable<S> that) |
MutableList<Pair<V,Integer>> |
zipWithIndex() |
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, toArrayappendString, 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, zipWithIndexflatCollectWithcollectWithIndex, reverseForEach, reverseForEachWithIndexcollectWithIndex, forEachWithIndex, getFirst, getFirstOptional, getLast, getLastOptional, max, min, rejectWithIndex, selectWithIndex, zip, zipWithIndexaggregateBy, aggregateBy, aggregateInPlaceBy, 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, 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, toSortedSetByforEach, forEachWithadd, aggregateBy, aggregateBy, aggregateInPlaceBy, getOrDefault, putPair, removeAllKeys, removeIfforEachKey, forEachValue, getIfAbsent, getIfAbsentValue, getIfAbsentWith, ifPresentApply, injectIntoKeyValue, parallelStream, spliterator, streamcompute, computeIfAbsent, computeIfPresent, forEach, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static <K,V> MutableOrderedMap<K,V> adapt(Map<K,V> map)
public boolean equals(Object o)
public int hashCode()
public MutableOrderedMap<K,V> newEmpty()
newEmpty in interface MutableMapIterable<K,V>public void forEachKeyValue(Procedure2<? super K,? super V> procedure)
forEachKeyValue in interface MapIterable<K,V>public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in interface MapIterable<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in interface MapIterable<K,V>public int size()
public boolean isEmpty()
isEmpty in interface Map<K,V>isEmpty in interface RichIterable<V>isEmpty in class AbstractRichIterable<V>public String toString()
AbstractRichIterable
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());
toString in interface MapIterable<K,V>toString in interface RichIterable<V>toString in class AbstractRichIterable<V>AbstractCollection.toString()public MutableOrderedMap<K,V> clone()
public MutableOrderedMap<K,V> toReversed()
toReversed in interface MutableOrderedMap<K,V>toReversed in interface OrderedMap<K,V>toReversed in interface ReversibleIterable<V>public MutableOrderedMap<K,V> take(int count)
take in interface MutableOrderedMap<K,V>take in interface OrderedMap<K,V>take in interface ReversibleIterable<V>public MutableOrderedMap<K,V> takeWhile(Predicate<? super V> predicate)
takeWhile in interface MutableOrderedMap<K,V>takeWhile in interface OrderedMap<K,V>takeWhile in interface OrderedIterable<V>takeWhile in interface ReversibleIterable<V>public MutableOrderedMap<K,V> drop(int count)
drop in interface MutableOrderedMap<K,V>drop in interface OrderedMap<K,V>drop in interface ReversibleIterable<V>public MutableOrderedMap<K,V> dropWhile(Predicate<? super V> predicate)
dropWhile in interface MutableOrderedMap<K,V>dropWhile in interface OrderedMap<K,V>dropWhile in interface OrderedIterable<V>dropWhile in interface ReversibleIterable<V>public PartitionMutableList<V> partitionWhile(Predicate<? super V> predicate)
partitionWhile in interface MutableOrderedMap<K,V>partitionWhile in interface OrderedMap<K,V>partitionWhile in interface OrderedIterable<V>partitionWhile in interface ReversibleIterable<V>public MutableList<V> distinct()
distinct in interface MutableOrderedMap<K,V>distinct in interface OrderedMap<K,V>distinct in interface OrderedIterable<V>distinct in interface ReversibleIterable<V>public MutableOrderedMap<K,V> withKeyValue(K key, V value)
withKeyValue in interface MutableMapIterable<K,V>withKeyValue in interface MutableOrderedMap<K,V>public MutableOrderedMap<K,V> withMap(Map<? extends K,? extends V> map)
withMap in interface MutableMapIterable<K,V>withMap in interface MutableOrderedMap<K,V>public MutableOrderedMap<K,V> withMapIterable(MapIterable<? extends K,? extends V> mapIterable)
withMapIterable in interface MutableMapIterable<K,V>withMapIterable in interface MutableOrderedMap<K,V>public void putAllMapIterable(MapIterable<? extends K,? extends V> mapIterable)
putAllMapIterable in interface MutableMapIterable<K,V>public MutableOrderedMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K,? extends V>> keyValues)
withAllKeyValues in interface MutableMapIterable<K,V>withAllKeyValues in interface MutableOrderedMap<K,V>public MutableOrderedMap<K,V> withAllKeyValueArguments(Pair<? extends K,? extends V>... keyValues)
withAllKeyValueArguments in interface MutableMapIterable<K,V>withAllKeyValueArguments in interface MutableOrderedMap<K,V>public MutableOrderedMap<K,V> withoutKey(K key)
withoutKey in interface MutableMapIterable<K,V>withoutKey in interface MutableOrderedMap<K,V>public MutableOrderedMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface MutableMapIterable<K,V>withoutAllKeys in interface MutableOrderedMap<K,V>public MutableOrderedMap<K,V> asUnmodifiable()
asUnmodifiable in interface MutableMapIterable<K,V>asUnmodifiable in interface MutableOrderedMap<K,V>public ImmutableOrderedMap<K,V> toImmutable()
toImmutable in interface MapIterable<K,V>toImmutable in interface MutableMapIterable<K,V>toImmutable in interface OrderedMap<K,V>public MutableOrderedMap<K,V> asSynchronized()
asSynchronized in interface MutableMapIterable<K,V>public MutableListMultimap<V,K> flip()
flip in interface MapIterable<K,V>flip in interface MutableMapIterable<K,V>flip in interface MutableOrderedMap<K,V>flip in interface OrderedMap<K,V>public MutableBooleanList collectBoolean(BooleanFunction<? super V> booleanFunction)
collectBoolean in interface MutableOrderedMap<K,V>collectBoolean in interface OrderedMap<K,V>collectBoolean in interface OrderedIterable<V>collectBoolean in interface ReversibleIterable<V>collectBoolean in interface RichIterable<V>public MutableByteList collectByte(ByteFunction<? super V> byteFunction)
collectByte in interface MutableOrderedMap<K,V>collectByte in interface OrderedMap<K,V>collectByte in interface OrderedIterable<V>collectByte in interface ReversibleIterable<V>collectByte in interface RichIterable<V>public MutableCharList collectChar(CharFunction<? super V> charFunction)
collectChar in interface MutableOrderedMap<K,V>collectChar in interface OrderedMap<K,V>collectChar in interface OrderedIterable<V>collectChar in interface ReversibleIterable<V>collectChar in interface RichIterable<V>public MutableDoubleList collectDouble(DoubleFunction<? super V> doubleFunction)
collectDouble in interface MutableOrderedMap<K,V>collectDouble in interface OrderedMap<K,V>collectDouble in interface OrderedIterable<V>collectDouble in interface ReversibleIterable<V>collectDouble in interface RichIterable<V>public MutableFloatList collectFloat(FloatFunction<? super V> floatFunction)
collectFloat in interface MutableOrderedMap<K,V>collectFloat in interface OrderedMap<K,V>collectFloat in interface OrderedIterable<V>collectFloat in interface ReversibleIterable<V>collectFloat in interface RichIterable<V>public MutableIntList collectInt(IntFunction<? super V> intFunction)
collectInt in interface MutableOrderedMap<K,V>collectInt in interface OrderedMap<K,V>collectInt in interface OrderedIterable<V>collectInt in interface ReversibleIterable<V>collectInt in interface RichIterable<V>public MutableLongList collectLong(LongFunction<? super V> longFunction)
collectLong in interface MutableOrderedMap<K,V>collectLong in interface OrderedMap<K,V>collectLong in interface OrderedIterable<V>collectLong in interface ReversibleIterable<V>collectLong in interface RichIterable<V>public MutableShortList collectShort(ShortFunction<? super V> shortFunction)
collectShort in interface MutableOrderedMap<K,V>collectShort in interface OrderedMap<K,V>collectShort in interface OrderedIterable<V>collectShort in interface ReversibleIterable<V>collectShort in interface RichIterable<V>public <R> MutableOrderedMap<K,R> collectValues(Function2<? super K,? super V,? extends R> function)
collectValues in interface MapIterable<K,V>collectValues in interface MutableMapIterable<K,V>collectValues in interface MutableOrderedMap<K,V>collectValues in interface OrderedMap<K,V>public MutableOrderedMap<K,V> tap(Procedure<? super V> procedure)
tap in interface MapIterable<K,V>tap in interface MutableMapIterable<K,V>tap in interface MutableOrderedMap<K,V>tap in interface OrderedMap<K,V>tap in interface OrderedIterable<V>tap in interface ReversibleIterable<V>tap in interface RichIterable<V>public MutableOrderedMap<K,V> select(Predicate2<? super K,? super V> predicate)
select in interface MapIterable<K,V>select in interface MutableMapIterable<K,V>select in interface MutableOrderedMap<K,V>select in interface OrderedMap<K,V>public MutableOrderedMap<K,V> reject(Predicate2<? super K,? super V> predicate)
reject in interface MapIterable<K,V>reject in interface MutableMapIterable<K,V>reject in interface MutableOrderedMap<K,V>reject in interface OrderedMap<K,V>public <R> MutableList<R> collect(Function<? super V,? extends R> function)
collect in interface MutableOrderedMap<K,V>collect in interface OrderedMap<K,V>collect in interface OrderedIterable<V>collect in interface ReversibleIterable<V>collect in interface RichIterable<V>public <P,VV> MutableList<VV> collectWith(Function2<? super V,? super P,? extends VV> function, P parameter)
collectWith in interface MutableOrderedMap<K,V>collectWith in interface OrderedMap<K,V>collectWith in interface OrderedIterable<V>collectWith in interface ReversibleIterable<V>collectWith in interface RichIterable<V>public <R> MutableList<R> collectIf(Predicate<? super V> predicate, Function<? super V,? extends R> function)
collectIf in interface MutableOrderedMap<K,V>collectIf in interface OrderedMap<K,V>collectIf in interface OrderedIterable<V>collectIf in interface ReversibleIterable<V>collectIf in interface RichIterable<V>public <R> MutableList<R> flatCollect(Function<? super V,? extends Iterable<R>> function)
flatCollect in interface MutableOrderedMap<K,V>flatCollect in interface OrderedMap<K,V>flatCollect in interface OrderedIterable<V>flatCollect in interface ReversibleIterable<V>flatCollect in interface RichIterable<V>public MutableList<V> select(Predicate<? super V> predicate)
select in interface MutableMapIterable<K,V>select in interface MutableOrderedMap<K,V>select in interface OrderedMap<K,V>select in interface OrderedIterable<V>select in interface ReversibleIterable<V>select in interface RichIterable<V>public MutableList<V> reject(Predicate<? super V> predicate)
reject in interface MutableMapIterable<K,V>reject in interface MutableOrderedMap<K,V>reject in interface OrderedMap<K,V>reject in interface OrderedIterable<V>reject in interface ReversibleIterable<V>reject in interface RichIterable<V>public <P> MutableList<V> selectWith(Predicate2<? super V,? super P> predicate, P parameter)
selectWith in interface MutableMapIterable<K,V>selectWith in interface MutableOrderedMap<K,V>selectWith in interface OrderedMap<K,V>selectWith in interface OrderedIterable<V>selectWith in interface ReversibleIterable<V>selectWith in interface RichIterable<V>public <P> MutableList<V> rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
rejectWith in interface MutableMapIterable<K,V>rejectWith in interface MutableOrderedMap<K,V>rejectWith in interface OrderedMap<K,V>rejectWith in interface OrderedIterable<V>rejectWith in interface ReversibleIterable<V>rejectWith in interface RichIterable<V>public PartitionMutableList<V> partition(Predicate<? super V> predicate)
partition in interface MutableMapIterable<K,V>partition in interface MutableOrderedMap<K,V>partition in interface OrderedMap<K,V>partition in interface OrderedIterable<V>partition in interface ReversibleIterable<V>partition in interface RichIterable<V>public <P> PartitionMutableList<V> partitionWith(Predicate2<? super V,? super P> predicate, P parameter)
partitionWith in interface MutableOrderedMap<K,V>partitionWith in interface OrderedMap<K,V>partitionWith in interface OrderedIterable<V>partitionWith in interface ReversibleIterable<V>partitionWith in interface RichIterable<V>public <S> MutableList<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface MutableMapIterable<K,V>selectInstancesOf in interface MutableOrderedMap<K,V>selectInstancesOf in interface OrderedMap<K,V>selectInstancesOf in interface OrderedIterable<V>selectInstancesOf in interface ReversibleIterable<V>selectInstancesOf in interface RichIterable<V>public <S> MutableList<Pair<V,S>> zip(Iterable<S> that)
zip in interface MutableMapIterable<K,V>zip in interface MutableOrderedMap<K,V>zip in interface OrderedMap<K,V>zip in interface OrderedIterable<V>zip in interface ReversibleIterable<V>zip in interface RichIterable<V>public MutableList<Pair<V,Integer>> zipWithIndex()
zipWithIndex in interface MutableMapIterable<K,V>zipWithIndex in interface MutableOrderedMap<K,V>zipWithIndex in interface OrderedMap<K,V>zipWithIndex in interface OrderedIterable<V>zipWithIndex in interface ReversibleIterable<V>zipWithIndex in interface RichIterable<V>public <VV> MutableListMultimap<VV,V> groupBy(Function<? super V,? extends VV> function)
groupBy in interface MutableMapIterable<K,V>groupBy in interface MutableOrderedMap<K,V>groupBy in interface OrderedMap<K,V>groupBy in interface OrderedIterable<V>groupBy in interface ReversibleIterable<V>groupBy in interface RichIterable<V>public <VV> MutableListMultimap<VV,V> groupByEach(Function<? super V,? extends Iterable<VV>> function)
groupByEach in interface MutableMapIterable<K,V>groupByEach in interface MutableOrderedMap<K,V>groupByEach in interface OrderedMap<K,V>groupByEach in interface OrderedIterable<V>groupByEach in interface ReversibleIterable<V>groupByEach in interface RichIterable<V>public <VV> MutableOrderedMap<VV,V> groupByUniqueKey(Function<? super V,? extends VV> function)
groupByUniqueKey in interface MutableMapIterable<K,V>groupByUniqueKey in interface MutableOrderedMap<K,V>groupByUniqueKey in interface OrderedMap<K,V>groupByUniqueKey in interface RichIterable<V>public LazyIterable<V> asReversed()
asReversed in interface ReversibleIterable<V>public int detectLastIndex(Predicate<? super V> predicate)
detectLastIndex in interface ReversibleIterable<V>public int indexOf(Object object)
indexOf in interface OrderedIterable<V>public <S> boolean corresponds(OrderedIterable<S> other, Predicate2<? super V,? super S> predicate)
corresponds in interface OrderedIterable<V>public void forEach(int startIndex,
int endIndex,
Procedure<? super V> procedure)
forEach in interface OrderedIterable<V>public void forEachWithIndex(int fromIndex,
int toIndex,
ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface OrderedIterable<V>public MutableStack<V> toStack()
toStack in interface OrderedIterable<V>public int detectIndex(Predicate<? super V> predicate)
detectIndex in interface OrderedIterable<V>public V getIfAbsentPut(K key, Function0<? extends V> function)
getIfAbsentPut in interface MutableMapIterable<K,V>public V getIfAbsentPut(K key, V value)
getIfAbsentPut in interface MutableMapIterable<K,V>public V getIfAbsentPutWithKey(K key, Function<? super K,? extends V> function)
getIfAbsentPutWithKey in interface MutableMapIterable<K,V>public <P> V getIfAbsentPutWith(K key, Function<? super P,? extends V> function, P parameter)
getIfAbsentPutWith in interface MutableMapIterable<K,V>public V updateValue(K key, Function0<? extends V> factory, Function<? super V,? extends V> function)
updateValue in interface MutableMapIterable<K,V>public <P> V updateValueWith(K key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
updateValueWith in interface MutableMapIterable<K,V>public RichIterable<K> keysView()
keysView in interface MapIterable<K,V>public RichIterable<V> valuesView()
valuesView in interface MapIterable<K,V>public RichIterable<Pair<K,V>> keyValuesView()
keyValuesView in interface MapIterable<K,V>public <K2,V2> MutableOrderedMap<K2,V2> collect(Function2<? super K,? super V,Pair<K2,V2>> function)
collect in interface MapIterable<K,V>collect in interface MutableMapIterable<K,V>collect in interface MutableOrderedMap<K,V>collect in interface OrderedMap<K,V>public MutableOrderedMap<V,K> flipUniqueValues()
flipUniqueValues in interface MapIterable<K,V>flipUniqueValues in interface MutableMapIterable<K,V>flipUniqueValues in interface MutableOrderedMap<K,V>flipUniqueValues in interface OrderedMap<K,V>public Pair<K,V> detect(Predicate2<? super K,? super V> predicate)
detect in interface MapIterable<K,V>public Optional<Pair<K,V>> detectOptional(Predicate2<? super K,? super V> predicate)
detectOptional in interface MapIterable<K,V>public <V1> MutableObjectLongMap<V1> sumByInt(Function<? super V,? extends V1> groupBy, IntFunction<? super V> function)
sumByInt in interface MutableMapIterable<K,V>sumByInt in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByFloat(Function<? super V,? extends V1> groupBy, FloatFunction<? super V> function)
sumByFloat in interface MutableMapIterable<K,V>sumByFloat in interface RichIterable<V>public <V1> MutableObjectLongMap<V1> sumByLong(Function<? super V,? extends V1> groupBy, LongFunction<? super V> function)
sumByLong in interface MutableMapIterable<K,V>sumByLong in interface RichIterable<V>public <V1> MutableObjectDoubleMap<V1> sumByDouble(Function<? super V,? extends V1> groupBy, DoubleFunction<? super V> function)
sumByDouble in interface MutableMapIterable<K,V>sumByDouble in interface RichIterable<V>public <V1> MutableBag<V1> countBy(Function<? super V,? extends V1> function)
countBy in interface MutableMapIterable<K,V>countBy in interface RichIterable<V>public <V1,P> MutableBag<V1> countByWith(Function2<? super V,? super P,? extends V1> function, P parameter)
countByWith in interface MutableMapIterable<K,V>countByWith in interface RichIterable<V>public <V1> MutableBag<V1> countByEach(Function<? super V,? extends Iterable<V1>> function)
countByEach in interface MutableMapIterable<K,V>countByEach in interface RichIterable<V>countByEach in class AbstractRichIterable<V>Copyright © 2004–2022. All rights reserved.