@Immutable public class LazyIterableAdapter<T> extends AbstractLazyIterable<T>
| Constructor and Description |
|---|
LazyIterableAdapter(Iterable<T> newAdapted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
<V> org.eclipse.collections.api.LazyIterable<V> |
collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<V> org.eclipse.collections.api.LazyIterable<V> |
collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
T |
detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> T |
detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.LazyIterable<T> |
distinct() |
org.eclipse.collections.api.LazyIterable<T> |
drop(int count) |
void |
each(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure) |
<V> org.eclipse.collections.api.LazyIterable<V> |
flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
<P> void |
forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super T,? super P> procedure,
P parameter) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure) |
T |
getFirst() |
T |
getLast() |
<R extends Collection<T>> |
into(R target) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.LazyIterable<T> |
reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
org.eclipse.collections.api.LazyIterable<T> |
select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
int |
size() |
org.eclipse.collections.api.LazyIterable<T> |
take(int count) |
Object[] |
toArray() |
aggregateBy, aggregateInPlaceBy, asLazy, chunk, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, collectWith, concatenate, groupBy, groupByEach, groupByUniqueKey, partition, partitionWith, rejectWith, selectInstancesOf, selectWith, tap, toArray, toStack, zip, zipWithIndexappendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detectIfNone, detectWithIfNone, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, notEmpty, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitappendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detectIfNone, detectWithIfNone, flatCollect, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, notEmpty, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexforEach, spliteratorpublic void each(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure)
public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface org.eclipse.collections.api.InternalIterable<T>forEachWithIndex in class AbstractRichIterable<T>public <P> void forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface org.eclipse.collections.api.InternalIterable<T>forEachWith in class AbstractRichIterable<T>public <R extends Collection<T>> R into(R target)
into in interface org.eclipse.collections.api.LazyIterable<T>into in class AbstractLazyIterable<T>public org.eclipse.collections.api.LazyIterable<T> select(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
select in interface org.eclipse.collections.api.LazyIterable<T>select in interface org.eclipse.collections.api.RichIterable<T>select in class AbstractLazyIterable<T>public org.eclipse.collections.api.LazyIterable<T> reject(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
reject in interface org.eclipse.collections.api.LazyIterable<T>reject in interface org.eclipse.collections.api.RichIterable<T>reject in class AbstractLazyIterable<T>public <V> org.eclipse.collections.api.LazyIterable<V> collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collect in interface org.eclipse.collections.api.LazyIterable<T>collect in interface org.eclipse.collections.api.RichIterable<T>collect in class AbstractLazyIterable<T>public <V> org.eclipse.collections.api.LazyIterable<V> flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
flatCollect in interface org.eclipse.collections.api.LazyIterable<T>flatCollect in interface org.eclipse.collections.api.RichIterable<T>flatCollect in class AbstractLazyIterable<T>public <V> org.eclipse.collections.api.LazyIterable<V> collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collectIf in interface org.eclipse.collections.api.LazyIterable<T>collectIf in interface org.eclipse.collections.api.RichIterable<T>collectIf in class AbstractLazyIterable<T>public org.eclipse.collections.api.LazyIterable<T> take(int count)
take in interface org.eclipse.collections.api.LazyIterable<T>take in class AbstractLazyIterable<T>public org.eclipse.collections.api.LazyIterable<T> drop(int count)
drop in interface org.eclipse.collections.api.LazyIterable<T>drop in class AbstractLazyIterable<T>public org.eclipse.collections.api.LazyIterable<T> distinct()
distinct in interface org.eclipse.collections.api.LazyIterable<T>distinct in class AbstractLazyIterable<T>public Object[] toArray()
toArray in interface org.eclipse.collections.api.RichIterable<T>toArray in class AbstractRichIterable<T>public int size()
size in interface org.eclipse.collections.api.RichIterable<T>size in class AbstractLazyIterable<T>public boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.RichIterable<T>isEmpty in class AbstractLazyIterable<T>public boolean anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
anySatisfy in interface org.eclipse.collections.api.RichIterable<T>anySatisfy in class AbstractRichIterable<T>public boolean allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
allSatisfy in interface org.eclipse.collections.api.RichIterable<T>allSatisfy in class AbstractRichIterable<T>public boolean noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
noneSatisfy in interface org.eclipse.collections.api.RichIterable<T>noneSatisfy in class AbstractRichIterable<T>public <P> boolean anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface org.eclipse.collections.api.RichIterable<T>anySatisfyWith in class AbstractRichIterable<T>public <P> boolean allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>allSatisfyWith in class AbstractRichIterable<T>public <P> boolean noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>noneSatisfyWith in class AbstractRichIterable<T>public T getFirst()
getFirst in interface org.eclipse.collections.api.LazyIterable<T>getFirst in interface org.eclipse.collections.api.RichIterable<T>getFirst in class AbstractLazyIterable<T>public T getLast()
getLast in interface org.eclipse.collections.api.RichIterable<T>getLast in class AbstractLazyIterable<T>public T detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
detect in interface org.eclipse.collections.api.RichIterable<T>detect in class AbstractRichIterable<T>public <P> T detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface org.eclipse.collections.api.RichIterable<T>detectWith in class AbstractRichIterable<T>Copyright © 2004–2018. All rights reserved.