@Immutable public class RejectIterable<T> extends AbstractLazyIterable<T>
| Constructor and Description |
|---|
RejectIterable(Iterable<T> newAdapted,
org.eclipse.collections.api.block.predicate.Predicate<? super T> newPredicate) |
| 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) |
T |
detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
void |
each(org.eclipse.collections.api.block.procedure.Procedure<? super T> procedure) |
<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() |
Iterator<T> |
iterator()
We use a SelectIterator, since we have already negated the predicate
|
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) |
aggregateBy, aggregateInPlaceBy, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, concatenate, distinct, drop, flatCollect, getLast, groupBy, groupByEach, groupByUniqueKey, into, isEmpty, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, size, 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, detectWith, 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, toArray, 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, detectWith, 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, toArray, 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 Iterator<T> iterator()
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 <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 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 <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 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 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 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>Copyright © 2004–2018. All rights reserved.