Package org.eclipse.collections.impl.map
Class AbstractMapIterable<K,V>
java.lang.Object
org.eclipse.collections.impl.AbstractRichIterable<V>
org.eclipse.collections.impl.map.AbstractMapIterable<K,V>
- All Implemented Interfaces:
Iterable<V>,InternalIterable<V>,MapIterable<K,,V> RichIterable<V>
- Direct Known Subclasses:
AbstractImmutableMap,AbstractImmutableSortedMap,AbstractMutableMapIterable,ImmutableOrderedMapAdapter,OrderedMapAdapter
public abstract class AbstractMapIterable<K,V>
extends AbstractRichIterable<V>
implements MapIterable<K,V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(Predicate<? super V> predicate) <P> booleanallSatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) booleananySatisfy(Predicate<? super V> predicate) <P> booleananySatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) asLazy()chunk(int size) booleandetectIfNone(Predicate<? super V> predicate, Function0<? extends V> function) detectOptional(Predicate<? super V> predicate) <P> VdetectWith(Predicate2<? super V, ? super P> predicate, P parameter) <P> VdetectWithIfNone(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) detectWithOptional(Predicate2<? super V, ? super P> predicate, P parameter) voidvoidforEachKey(Procedure<? super K> procedure) voidforEachValue(Procedure<? super V> procedure) <P> voidforEachWith(Procedure2<? super V, ? super P> procedure2, P parameter) voidforEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) getFirst()getIfAbsent(K key, Function0<? extends V> function) getIfAbsentValue(K key, V value) <P> VgetIfAbsentWith(K key, Function<? super P, ? extends V> function, P parameter) getLast()getOnly()getOrDefault(Object key, V defaultValue) <A> AifPresentApply(K key, Function<? super V, ? extends A> function) booleannoneSatisfy(Predicate<? super V> predicate) <P> booleannoneSatisfyWith(Predicate2<? super V, ? super P> predicate, P parameter) Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class org.eclipse.collections.impl.AbstractRichIterable
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, zipWithIndexMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.InternalIterable
forEachMethods inherited from interface org.eclipse.collections.api.map.MapIterable
aggregateBy, collect, collectKeysUnique, collectValues, containsKey, containsValue, detect, detectOptional, equals, flip, flipUniqueValues, forEach, forEachKeyValue, get, hashCode, injectIntoKeyValue, keysView, keyValuesView, parallelStream, reject, select, spliterator, stream, tap, toImmutable, toString, valuesViewMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, 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, reduceBy, reduceBy, 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, zipWithIndex
-
Constructor Details
-
AbstractMapIterable
public AbstractMapIterable()
-
-
Method Details
-
ifPresentApply
- Specified by:
ifPresentApplyin interfaceMapIterable<K,V>
-
getOrDefault
- Specified by:
getOrDefaultin interfaceMapIterable<K,V>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceMapIterable<K,V>
-
getIfAbsentValue
- Specified by:
getIfAbsentValuein interfaceMapIterable<K,V>
-
getIfAbsentWith
- Specified by:
getIfAbsentWithin interfaceMapIterable<K,V>
-
anySatisfy
- Specified by:
anySatisfyin interfaceRichIterable<K>- Overrides:
anySatisfyin classAbstractRichIterable<V>
-
anySatisfyWith
- Specified by:
anySatisfyWithin interfaceRichIterable<K>- Overrides:
anySatisfyWithin classAbstractRichIterable<V>
-
allSatisfy
- Specified by:
allSatisfyin interfaceRichIterable<K>- Overrides:
allSatisfyin classAbstractRichIterable<V>
-
allSatisfyWith
- Specified by:
allSatisfyWithin interfaceRichIterable<K>- Overrides:
allSatisfyWithin classAbstractRichIterable<V>
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceRichIterable<K>- Overrides:
noneSatisfyin classAbstractRichIterable<V>
-
noneSatisfyWith
- Specified by:
noneSatisfyWithin interfaceRichIterable<K>- Overrides:
noneSatisfyWithin classAbstractRichIterable<V>
-
asLazy
- Specified by:
asLazyin interfaceRichIterable<K>- Overrides:
asLazyin classAbstractRichIterable<V>
-
chunk
- Specified by:
chunkin interfaceRichIterable<K>
-
each
- Specified by:
eachin interfaceRichIterable<K>
-
forEachWith
- Specified by:
forEachWithin interfaceInternalIterable<K>- Overrides:
forEachWithin classAbstractRichIterable<V>
-
forEachWithIndex
- Specified by:
forEachWithIndexin interfaceInternalIterable<K>- Overrides:
forEachWithIndexin classAbstractRichIterable<V>
-
forEachKey
- Specified by:
forEachKeyin interfaceMapIterable<K,V>
-
forEachValue
- Specified by:
forEachValuein interfaceMapIterable<K,V>
-
contains
- Specified by:
containsin interfaceRichIterable<K>- Overrides:
containsin classAbstractRichIterable<V>
-
detect
- Specified by:
detectin interfaceRichIterable<K>- Overrides:
detectin classAbstractRichIterable<V>
-
detectWith
- Specified by:
detectWithin interfaceRichIterable<K>- Overrides:
detectWithin classAbstractRichIterable<V>
-
detectOptional
- Specified by:
detectOptionalin interfaceRichIterable<K>- Overrides:
detectOptionalin classAbstractRichIterable<V>
-
detectWithOptional
- Specified by:
detectWithOptionalin interfaceRichIterable<K>- Overrides:
detectWithOptionalin classAbstractRichIterable<V>
-
detectIfNone
- Specified by:
detectIfNonein interfaceRichIterable<K>
-
detectWithIfNone
public <P> V detectWithIfNone(Predicate2<? super V, ? super P> predicate, P parameter, Function0<? extends V> function) - Specified by:
detectWithIfNonein interfaceRichIterable<K>- Overrides:
detectWithIfNonein classAbstractRichIterable<V>
-
getFirst
- Specified by:
getFirstin interfaceRichIterable<K>
-
getLast
- Specified by:
getLastin interfaceRichIterable<K>
-
getOnly
- Specified by:
getOnlyin interfaceRichIterable<K>
-
toArray
- Specified by:
toArrayin interfaceRichIterable<K>
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceRichIterable<K>
-