public class LazyIterableAdapter<T> extends AbstractLazyIterable<T>
| Constructor and Description |
|---|
LazyIterableAdapter(Iterable<T> newAdapted) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<V> LazyIterable<V> |
collect(Function<? super T,? extends V> function) |
<V> LazyIterable<V> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
T |
detect(Predicate<? super T> predicate) |
Optional<T> |
detectOptional(Predicate<? super T> predicate) |
<P> T |
detectWith(Predicate2<? super T,? super P> predicate,
P parameter) |
<P> Optional<T> |
detectWithOptional(Predicate2<? super T,? super P> predicate,
P parameter) |
LazyIterable<T> |
distinct() |
LazyIterable<T> |
drop(int count) |
LazyIterable<T> |
dropWhile(Predicate<? super T> predicate) |
void |
each(Procedure<? super T> procedure) |
<V> LazyIterable<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
<P> void |
forEachWith(Procedure2<? super T,? super P> procedure,
P parameter) |
void |
forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure) |
T |
getFirst() |
T |
getLast() |
<R extends Collection<T>> |
into(R target) |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
noneSatisfy(Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
LazyIterable<T> |
reject(Predicate<? super T> predicate) |
LazyIterable<T> |
select(Predicate<? super T> predicate) |
int |
size() |
LazyIterable<T> |
take(int count) |
LazyIterable<T> |
takeWhile(Predicate<? super T> predicate) |
Object[] |
toArray() |
asLazy, chunk, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, collectWith, concatenate, getOnly, groupBy, groupByEach, groupByUniqueKey, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, partition, partitionWith, rejectWith, selectInstancesOf, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, tap, toArray, toStack, zip, zipWithIndexappendString, appendString, collect, collectIf, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countByEach, countWith, detectWithIfNone, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, 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, waitflatCollectWithaggregateBy, aggregateBy, aggregateInPlaceBy, 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, detectWithIfNone, 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, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, 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, toString, zip, zipWithIndexforEachspliteratorpublic void forEachWithIndex(ObjectIntProcedure<? super T> objectIntProcedure)
forEachWithIndex in interface InternalIterable<T>forEachWithIndex in class AbstractRichIterable<T>public <P> void forEachWith(Procedure2<? super T,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<T>forEachWith in class AbstractRichIterable<T>public <R extends Collection<T>> R into(R target)
into in interface LazyIterable<T>into in interface RichIterable<T>into in class AbstractLazyIterable<T>public LazyIterable<T> select(Predicate<? super T> predicate)
select in interface LazyIterable<T>select in interface RichIterable<T>select in class AbstractLazyIterable<T>public LazyIterable<T> reject(Predicate<? super T> predicate)
reject in interface LazyIterable<T>reject in interface RichIterable<T>reject in class AbstractLazyIterable<T>public <V> LazyIterable<V> collect(Function<? super T,? extends V> function)
collect in interface LazyIterable<T>collect in interface RichIterable<T>collect in class AbstractLazyIterable<T>public <V> LazyIterable<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface LazyIterable<T>flatCollect in interface RichIterable<T>flatCollect in class AbstractLazyIterable<T>public <V> LazyIterable<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
collectIf in interface LazyIterable<T>collectIf in interface RichIterable<T>collectIf in class AbstractLazyIterable<T>public LazyIterable<T> take(int count)
take in interface LazyIterable<T>take in class AbstractLazyIterable<T>public LazyIterable<T> drop(int count)
drop in interface LazyIterable<T>drop in class AbstractLazyIterable<T>public LazyIterable<T> takeWhile(Predicate<? super T> predicate)
takeWhile in interface LazyIterable<T>takeWhile in class AbstractLazyIterable<T>public LazyIterable<T> dropWhile(Predicate<? super T> predicate)
dropWhile in interface LazyIterable<T>dropWhile in class AbstractLazyIterable<T>public LazyIterable<T> distinct()
distinct in interface LazyIterable<T>distinct in class AbstractLazyIterable<T>public Object[] toArray()
toArray in interface RichIterable<T>toArray in class AbstractRichIterable<T>public int size()
size in interface RichIterable<T>size in class AbstractLazyIterable<T>public boolean isEmpty()
isEmpty in interface RichIterable<T>isEmpty in class AbstractLazyIterable<T>public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy in interface RichIterable<T>anySatisfy in class AbstractRichIterable<T>public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy in interface RichIterable<T>allSatisfy in class AbstractRichIterable<T>public boolean noneSatisfy(Predicate<? super T> predicate)
noneSatisfy in interface RichIterable<T>noneSatisfy in class AbstractRichIterable<T>public <P> boolean anySatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<T>anySatisfyWith in class AbstractRichIterable<T>public <P> boolean allSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<T>allSatisfyWith in class AbstractRichIterable<T>public <P> boolean noneSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<T>noneSatisfyWith in class AbstractRichIterable<T>public T getFirst()
getFirst in interface LazyIterable<T>getFirst in interface RichIterable<T>getFirst in class AbstractLazyIterable<T>public T getLast()
getLast in interface RichIterable<T>getLast in class AbstractLazyIterable<T>public T detect(Predicate<? super T> predicate)
detect in interface RichIterable<T>detect in class AbstractRichIterable<T>public <P> T detectWith(Predicate2<? super T,? super P> predicate, P parameter)
detectWith in interface RichIterable<T>detectWith in class AbstractRichIterable<T>public Optional<T> detectOptional(Predicate<? super T> predicate)
detectOptional in interface RichIterable<T>detectOptional in class AbstractRichIterable<T>public <P> Optional<T> detectWithOptional(Predicate2<? super T,? super P> predicate, P parameter)
detectWithOptional in interface RichIterable<T>detectWithOptional in class AbstractRichIterable<T>Copyright © 2004–2022. All rights reserved.