public abstract class AbstractMapIterable<K,V> extends AbstractRichIterable<V> implements MapIterable<K,V>
| Constructor and Description |
|---|
AbstractMapIterable() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(Predicate<? super V> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
anySatisfy(Predicate<? super V> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
LazyIterable<V> |
asLazy() |
RichIterable<RichIterable<V>> |
chunk(int size) |
boolean |
contains(Object object) |
V |
detect(Predicate<? super V> predicate) |
V |
detectIfNone(Predicate<? super V> predicate,
Function0<? extends V> function) |
Optional<V> |
detectOptional(Predicate<? super V> predicate) |
<P> V |
detectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<P> V |
detectWithIfNone(Predicate2<? super V,? super P> predicate,
P parameter,
Function0<? extends V> function) |
<P> Optional<V> |
detectWithOptional(Predicate2<? super V,? super P> predicate,
P parameter) |
void |
each(Procedure<? super V> procedure) |
void |
forEachKey(Procedure<? super K> procedure) |
void |
forEachValue(Procedure<? super V> procedure) |
<P> void |
forEachWith(Procedure2<? super V,? super P> procedure2,
P parameter) |
void |
forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) |
V |
getFirst() |
V |
getIfAbsent(K key,
Function0<? extends V> function) |
V |
getIfAbsentValue(K key,
V value) |
<P> V |
getIfAbsentWith(K key,
Function<? super P,? extends V> function,
P parameter) |
V |
getLast() |
V |
getOnly() |
V |
getOrDefault(Object key,
V defaultValue) |
<A> A |
ifPresentApply(K key,
Function<? super V,? extends A> function) |
boolean |
noneSatisfy(Predicate<? super V> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super V,? super P> predicate,
P parameter) |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
appendString, appendString, collect, collectIf, collectWith, containsAll, containsAllArguments, containsAllIterable, count, countByEach, countWith, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, 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, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaggregateBy, collect, collectValues, containsKey, containsValue, detect, detectOptional, equals, flip, flipUniqueValues, forEachKeyValue, get, hashCode, injectIntoKeyValue, keysView, keyValuesView, parallelStream, reject, select, spliterator, stream, tap, toImmutable, toString, valuesViewaggregateBy, aggregateBy, aggregateInPlaceBy, appendString, appendString, appendString, collect, collect, collectBoolean, collectBoolean, collectByte, collectByte, collectChar, collectChar, collectDouble, collectDouble, collectFloat, collectFloat, collectIf, collectIf, collectInt, collectInt, collectLong, collectLong, collectShort, collectShort, collectWith, collectWith, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countBy, countByEach, countByEach, countByWith, countByWith, countWith, flatCollect, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, flatCollectWith, forEach, getAny, groupBy, groupBy, groupByAndCollect, groupByEach, groupByEach, groupByUniqueKey, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, notEmpty, partition, partitionWith, reduce, reduceInPlace, reduceInPlace, reject, reject, rejectWith, rejectWith, select, select, selectInstancesOf, selectWith, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, 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, zip, zip, zipWithIndex, zipWithIndexforEachpublic <A> A ifPresentApply(K key, Function<? super V,? extends A> function)
ifPresentApply in interface MapIterable<K,V>public V getOrDefault(Object key, V defaultValue)
getOrDefault in interface MapIterable<K,V>public V getIfAbsent(K key, Function0<? extends V> function)
getIfAbsent in interface MapIterable<K,V>public V getIfAbsentValue(K key, V value)
getIfAbsentValue in interface MapIterable<K,V>public <P> V getIfAbsentWith(K key, Function<? super P,? extends V> function, P parameter)
getIfAbsentWith in interface MapIterable<K,V>public boolean anySatisfy(Predicate<? super V> predicate)
anySatisfy in interface RichIterable<V>anySatisfy in class AbstractRichIterable<V>public <P> boolean anySatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<V>anySatisfyWith in class AbstractRichIterable<V>public boolean allSatisfy(Predicate<? super V> predicate)
allSatisfy in interface RichIterable<V>allSatisfy in class AbstractRichIterable<V>public <P> boolean allSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<V>allSatisfyWith in class AbstractRichIterable<V>public boolean noneSatisfy(Predicate<? super V> predicate)
noneSatisfy in interface RichIterable<V>noneSatisfy in class AbstractRichIterable<V>public <P> boolean noneSatisfyWith(Predicate2<? super V,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<V>noneSatisfyWith in class AbstractRichIterable<V>public LazyIterable<V> asLazy()
asLazy in interface RichIterable<V>asLazy in class AbstractRichIterable<V>public RichIterable<RichIterable<V>> chunk(int size)
chunk in interface RichIterable<V>public void each(Procedure<? super V> procedure)
each in interface RichIterable<V>public <P> void forEachWith(Procedure2<? super V,? super P> procedure2, P parameter)
forEachWith in interface InternalIterable<V>forEachWith in class AbstractRichIterable<V>public void forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface InternalIterable<V>forEachWithIndex in class AbstractRichIterable<V>public void forEachKey(Procedure<? super K> procedure)
forEachKey in interface MapIterable<K,V>public void forEachValue(Procedure<? super V> procedure)
forEachValue in interface MapIterable<K,V>public boolean contains(Object object)
contains in interface RichIterable<V>contains in class AbstractRichIterable<V>public V detect(Predicate<? super V> predicate)
detect in interface RichIterable<V>detect in class AbstractRichIterable<V>public <P> V detectWith(Predicate2<? super V,? super P> predicate, P parameter)
detectWith in interface RichIterable<V>detectWith in class AbstractRichIterable<V>public Optional<V> detectOptional(Predicate<? super V> predicate)
detectOptional in interface RichIterable<V>detectOptional in class AbstractRichIterable<V>public <P> Optional<V> detectWithOptional(Predicate2<? super V,? super P> predicate, P parameter)
detectWithOptional in interface RichIterable<V>detectWithOptional in class AbstractRichIterable<V>public V detectIfNone(Predicate<? super V> predicate, Function0<? extends V> function)
detectIfNone in interface RichIterable<V>public <P> V detectWithIfNone(Predicate2<? super V,? super P> predicate, P parameter, Function0<? extends V> function)
detectWithIfNone in interface RichIterable<V>detectWithIfNone in class AbstractRichIterable<V>public V getFirst()
getFirst in interface RichIterable<V>public V getLast()
getLast in interface RichIterable<V>public V getOnly()
getOnly in interface RichIterable<V>public Object[] toArray()
toArray in interface RichIterable<V>toArray in class AbstractRichIterable<V>public <T> T[] toArray(T[] a)
toArray in interface RichIterable<V>toArray in class AbstractRichIterable<V>Copyright © 2004–2022. All rights reserved.