public class SelectIntIterable extends AbstractLazyIntIterable
Constructor and Description |
---|
SelectIntIterable(IntIterable delegate,
IntPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
boolean |
allSatisfy(IntPredicate predicate) |
boolean |
anySatisfy(IntPredicate predicate) |
boolean |
containsAll(int... source) |
boolean |
containsAll(IntIterable source) |
int |
count(IntPredicate predicate) |
void |
each(IntProcedure procedure) |
IntIterator |
intIterator() |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(IntPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
int[] |
toArray() |
MutableIntBag |
toBag() |
MutableIntList |
toList() |
MutableIntSet |
toSet() |
appendString, appendString, appendString, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, forEach, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toSortedArray, toSortedList, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
summaryStatistics
public SelectIntIterable(IntIterable delegate, IntPredicate predicate)
public IntIterator intIterator()
public void each(IntProcedure procedure)
public int size()
PrimitiveIterable
size
in interface PrimitiveIterable
size
in class AbstractLazyIntIterable
public boolean isEmpty()
PrimitiveIterable
isEmpty
in interface PrimitiveIterable
isEmpty
in class AbstractLazyIntIterable
public boolean notEmpty()
PrimitiveIterable
notEmpty
in interface PrimitiveIterable
notEmpty
in class AbstractLazyIntIterable
public int count(IntPredicate predicate)
count
in interface IntIterable
count
in class AbstractLazyIntIterable
public boolean anySatisfy(IntPredicate predicate)
anySatisfy
in interface IntIterable
anySatisfy
in class AbstractLazyIntIterable
public boolean allSatisfy(IntPredicate predicate)
allSatisfy
in interface IntIterable
allSatisfy
in class AbstractLazyIntIterable
public boolean noneSatisfy(IntPredicate predicate)
noneSatisfy
in interface IntIterable
noneSatisfy
in class AbstractLazyIntIterable
public int[] toArray()
toArray
in interface IntIterable
toArray
in class AbstractLazyIntIterable
public boolean containsAll(int... source)
containsAll
in interface IntIterable
containsAll
in class AbstractLazyIntIterable
public boolean containsAll(IntIterable source)
containsAll
in interface IntIterable
containsAll
in class AbstractLazyIntIterable
public MutableIntList toList()
toList
in interface IntIterable
toList
in class AbstractLazyIntIterable
public MutableIntSet toSet()
toSet
in interface IntIterable
toSet
in class AbstractLazyIntIterable
public MutableIntBag toBag()
toBag
in interface IntIterable
toBag
in class AbstractLazyIntIterable
Copyright © 2004–2016. All rights reserved.