public class CollectIterable<T,V> extends AbstractLazyIterable<V>
| Constructor and Description |
|---|
CollectIterable(Iterable<T> newAdapted,
Function<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(Predicate<? super V> predicate) |
boolean |
anySatisfy(Predicate<? super V> predicate) |
V |
detect(Predicate<? super V> predicate) |
Optional<V> |
detectOptional(Predicate<? super V> predicate) |
void |
each(Procedure<? super V> procedure) |
<P> void |
forEachWith(Procedure2<? super V,? super P> procedure,
P parameter) |
void |
forEachWithIndex(ObjectIntProcedure<? super V> objectIntProcedure) |
V |
getFirst() |
V |
getLast() |
double |
injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super V> f) |
float |
injectInto(float injectedValue,
FloatObjectToFloatFunction<? super V> f) |
int |
injectInto(int injectedValue,
IntObjectToIntFunction<? super V> f) |
<IV> IV |
injectInto(IV injectedValue,
Function2<? super IV,? super V,? extends IV> f) |
long |
injectInto(long injectedValue,
LongObjectToLongFunction<? super V> f) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
boolean |
noneSatisfy(Predicate<? super V> predicate) |
boolean |
notEmpty() |
int |
size() |
Object[] |
toArray() |
asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, concatenate, distinct, drop, dropWhile, flatCollect, getOnly, groupBy, groupByEach, groupByUniqueKey, into, maxByOptional, maxOptional, maxOptional, minByOptional, minOptional, minOptional, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, take, takeWhile, tap, toArray, toStack, zip, zipWithIndexallSatisfyWith, anySatisfyWith, appendString, appendString, collect, collectIf, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countByEach, countWith, detectWith, detectWithIfNone, detectWithOptional, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, max, max, maxBy, min, min, minBy, noneSatisfyWith, 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, 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, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, makeString, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfyWith, 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 V> objectIntProcedure)
forEachWithIndex in interface InternalIterable<V>forEachWithIndex in class AbstractRichIterable<V>public <P> void forEachWith(Procedure2<? super V,? super P> procedure, P parameter)
forEachWith in interface InternalIterable<V>forEachWith in class AbstractRichIterable<V>public int size()
size in interface RichIterable<V>size in class AbstractLazyIterable<V>public boolean isEmpty()
isEmpty in interface RichIterable<V>isEmpty in class AbstractLazyIterable<V>public boolean notEmpty()
public Object[] toArray()
toArray in interface RichIterable<V>toArray in class AbstractRichIterable<V>public boolean anySatisfy(Predicate<? super V> predicate)
anySatisfy in interface RichIterable<V>anySatisfy in class AbstractRichIterable<V>public boolean allSatisfy(Predicate<? super V> predicate)
allSatisfy in interface RichIterable<V>allSatisfy in class AbstractRichIterable<V>public boolean noneSatisfy(Predicate<? super V> predicate)
noneSatisfy in interface RichIterable<V>noneSatisfy in class AbstractRichIterable<V>public V detect(Predicate<? super V> predicate)
detect in interface RichIterable<V>detect in class AbstractRichIterable<V>public Optional<V> detectOptional(Predicate<? super V> predicate)
detectOptional in interface RichIterable<V>detectOptional in class AbstractRichIterable<V>public <IV> IV injectInto(IV injectedValue,
Function2<? super IV,? super V,? extends IV> f)
injectInto in interface RichIterable<V>injectInto in class AbstractRichIterable<V>public int injectInto(int injectedValue,
IntObjectToIntFunction<? super V> f)
injectInto in interface RichIterable<V>injectInto in class AbstractRichIterable<V>public long injectInto(long injectedValue,
LongObjectToLongFunction<? super V> f)
injectInto in interface RichIterable<V>injectInto in class AbstractRichIterable<V>public double injectInto(double injectedValue,
DoubleObjectToDoubleFunction<? super V> f)
injectInto in interface RichIterable<V>injectInto in class AbstractRichIterable<V>public float injectInto(float injectedValue,
FloatObjectToFloatFunction<? super V> f)
injectInto in interface RichIterable<V>injectInto in class AbstractRichIterable<V>public V getFirst()
getFirst in interface LazyIterable<V>getFirst in interface RichIterable<V>getFirst in class AbstractLazyIterable<V>public V getLast()
getLast in interface RichIterable<V>getLast in class AbstractLazyIterable<V>Copyright © 2004–2022. All rights reserved.