@Immutable public class CollectIterable<T,V> extends AbstractLazyIterable<V>
| Constructor and Description |
|---|
CollectIterable(Iterable<T> newAdapted,
org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> boolean |
allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> boolean |
anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
V |
detect(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> V |
detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
void |
each(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure) |
<P> void |
forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super P> procedure,
P parameter) |
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure) |
V |
getFirst() |
V |
getLast() |
double |
injectInto(double injectedValue,
org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction<? super V> f) |
float |
injectInto(float injectedValue,
org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction<? super V> f) |
int |
injectInto(int injectedValue,
org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction<? super V> f) |
<IV> IV |
injectInto(IV injectedValue,
org.eclipse.collections.api.block.function.Function2<? super IV,? super V,? extends IV> f) |
long |
injectInto(long injectedValue,
org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction<? super V> f) |
boolean |
isEmpty() |
Iterator<V> |
iterator() |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate) |
<P> boolean |
noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate,
P parameter) |
boolean |
notEmpty() |
int |
size() |
Object[] |
toArray() |
aggregateBy, aggregateInPlaceBy, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, concatenate, distinct, drop, flatCollect, groupBy, groupByEach, groupByUniqueKey, into, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, take, 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, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, 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, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, 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 V> procedure)
public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface org.eclipse.collections.api.InternalIterable<V>forEachWithIndex in class AbstractRichIterable<V>public <P> void forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super P> procedure, P parameter)
forEachWith in interface org.eclipse.collections.api.InternalIterable<V>forEachWith in class AbstractRichIterable<V>public int size()
size in interface org.eclipse.collections.api.RichIterable<V>size in class AbstractLazyIterable<V>public boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.RichIterable<V>isEmpty in class AbstractLazyIterable<V>public boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.RichIterable<V>notEmpty in class AbstractRichIterable<V>public Object[] toArray()
toArray in interface org.eclipse.collections.api.RichIterable<V>toArray in class AbstractRichIterable<V>public boolean anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate)
anySatisfy in interface org.eclipse.collections.api.RichIterable<V>anySatisfy in class AbstractRichIterable<V>public <P> boolean anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
anySatisfyWith in interface org.eclipse.collections.api.RichIterable<V>anySatisfyWith in class AbstractRichIterable<V>public boolean allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate)
allSatisfy in interface org.eclipse.collections.api.RichIterable<V>allSatisfy in class AbstractRichIterable<V>public <P> boolean allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
allSatisfyWith in interface org.eclipse.collections.api.RichIterable<V>allSatisfyWith in class AbstractRichIterable<V>public boolean noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate)
noneSatisfy in interface org.eclipse.collections.api.RichIterable<V>noneSatisfy in class AbstractRichIterable<V>public <P> boolean noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
noneSatisfyWith in interface org.eclipse.collections.api.RichIterable<V>noneSatisfyWith in class AbstractRichIterable<V>public V detect(org.eclipse.collections.api.block.predicate.Predicate<? super V> predicate)
detect in interface org.eclipse.collections.api.RichIterable<V>detect in class AbstractRichIterable<V>public <P> V detectWith(org.eclipse.collections.api.block.predicate.Predicate2<? super V,? super P> predicate, P parameter)
detectWith in interface org.eclipse.collections.api.RichIterable<V>detectWith in class AbstractRichIterable<V>public <IV> IV injectInto(IV injectedValue,
org.eclipse.collections.api.block.function.Function2<? super IV,? super V,? extends IV> f)
injectInto in interface org.eclipse.collections.api.RichIterable<V>injectInto in class AbstractRichIterable<V>public int injectInto(int injectedValue,
org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction<? super V> f)
injectInto in interface org.eclipse.collections.api.RichIterable<V>injectInto in class AbstractRichIterable<V>public long injectInto(long injectedValue,
org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction<? super V> f)
injectInto in interface org.eclipse.collections.api.RichIterable<V>injectInto in class AbstractRichIterable<V>public double injectInto(double injectedValue,
org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction<? super V> f)
injectInto in interface org.eclipse.collections.api.RichIterable<V>injectInto in class AbstractRichIterable<V>public float injectInto(float injectedValue,
org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction<? super V> f)
injectInto in interface org.eclipse.collections.api.RichIterable<V>injectInto in class AbstractRichIterable<V>public V getFirst()
getFirst in interface org.eclipse.collections.api.LazyIterable<V>getFirst in interface org.eclipse.collections.api.RichIterable<V>getFirst in class AbstractLazyIterable<V>public V getLast()
getLast in interface org.eclipse.collections.api.RichIterable<V>getLast in class AbstractLazyIterable<V>Copyright © 2004–2018. All rights reserved.