Class CompositeIterable<E>
- java.lang.Object
-
- org.eclipse.collections.impl.AbstractRichIterable<T>
-
- org.eclipse.collections.impl.lazy.AbstractLazyIterable<E>
-
- org.eclipse.collections.impl.lazy.CompositeIterable<E>
-
- All Implemented Interfaces:
Iterable<E>,InternalIterable<E>,LazyIterable<E>,RichIterable<E>
public final class CompositeIterable<E> extends AbstractLazyIterable<E>
-
-
Constructor Summary
Constructors Constructor Description CompositeIterable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Iterable<E> iterable)booleanallSatisfy(Predicate<? super E> predicate)booleananySatisfy(Predicate<? super E> predicate)Edetect(Predicate<? super E> predicate)Optional<E>detectOptional(Predicate<? super E> predicate)voideach(Procedure<? super E> procedure)<P> voidforEachWith(Procedure2<? super E,? super P> procedure, P parameter)voidforEachWithIndex(ObjectIntProcedure<? super E> objectIntProcedure)Iterator<E>iterator()booleannoneSatisfy(Predicate<? super E> predicate)intsize()static <T> CompositeIterable<T>with(Iterable<T>... iterables)-
Methods inherited from class org.eclipse.collections.impl.lazy.AbstractLazyIterable
asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, concatenate, distinct, drop, dropWhile, flatCollect, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, into, isEmpty, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, take, takeWhile, tap, toArray, toStack, zip, zipWithIndex
-
Methods inherited from class org.eclipse.collections.impl.AbstractRichIterable
allSatisfyWith, anySatisfyWith, appendString, appendString, collect, collectIf, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countByEach, countWith, detectWith, detectWithIfNone, detectWithOptional, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, max, max, maxBy, min, min, minBy, noneSatisfyWith, reject, rejectWith, select, selectWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toBag, toBiMap, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndex
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEach
-
Methods inherited from interface java.lang.Iterable
spliterator
-
Methods inherited from interface org.eclipse.collections.api.LazyIterable
flatCollectWith
-
Methods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, aggregateBy, aggregateInPlaceBy, allSatisfyWith, anySatisfyWith, appendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countBy, countByEach, countByEach, countByWith, countByWith, countWith, detectIfNone, detectWith, detectWithIfNone, detectWithOptional, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, 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, toString, zip, zipWithIndex
-
-
-
-
Method Detail
-
with
public static <T> CompositeIterable<T> with(Iterable<T>... iterables)
-
forEachWithIndex
public void forEachWithIndex(ObjectIntProcedure<? super E> objectIntProcedure)
- Specified by:
forEachWithIndexin interfaceInternalIterable<E>- Overrides:
forEachWithIndexin classAbstractRichIterable<E>
-
forEachWith
public <P> void forEachWith(Procedure2<? super E,? super P> procedure, P parameter)
- Specified by:
forEachWithin interfaceInternalIterable<E>- Overrides:
forEachWithin classAbstractRichIterable<E>
-
anySatisfy
public boolean anySatisfy(Predicate<? super E> predicate)
- Specified by:
anySatisfyin interfaceRichIterable<E>- Overrides:
anySatisfyin classAbstractRichIterable<E>
-
allSatisfy
public boolean allSatisfy(Predicate<? super E> predicate)
- Specified by:
allSatisfyin interfaceRichIterable<E>- Overrides:
allSatisfyin classAbstractRichIterable<E>
-
noneSatisfy
public boolean noneSatisfy(Predicate<? super E> predicate)
- Specified by:
noneSatisfyin interfaceRichIterable<E>- Overrides:
noneSatisfyin classAbstractRichIterable<E>
-
detect
public E detect(Predicate<? super E> predicate)
- Specified by:
detectin interfaceRichIterable<E>- Overrides:
detectin classAbstractRichIterable<E>
-
detectOptional
public Optional<E> detectOptional(Predicate<? super E> predicate)
- Specified by:
detectOptionalin interfaceRichIterable<E>- Overrides:
detectOptionalin classAbstractRichIterable<E>
-
size
public int size()
- Specified by:
sizein interfaceRichIterable<E>- Overrides:
sizein classAbstractLazyIterable<E>
-
-