public class SelectIntIterable extends AbstractLazyIntIterable
| Constructor and Description |
|---|
SelectIntIterable(com.gs.collections.api.IntIterable delegate,
com.gs.collections.api.block.predicate.primitive.IntPredicate predicate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
anySatisfy(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
containsAll(int... source) |
boolean |
containsAll(com.gs.collections.api.IntIterable source) |
int |
count(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate) |
void |
each(com.gs.collections.api.block.procedure.primitive.IntProcedure procedure) |
com.gs.collections.api.iterator.IntIterator |
intIterator() |
boolean |
isEmpty()
Returns true if this iterable has zero items.
|
boolean |
noneSatisfy(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate) |
boolean |
notEmpty()
The English equivalent of !this.isEmpty()
|
int |
size()
Returns the number of items in this iterable.
|
int[] |
toArray() |
com.gs.collections.api.bag.primitive.MutableIntBag |
toBag() |
com.gs.collections.api.list.primitive.MutableIntList |
toList() |
com.gs.collections.api.set.primitive.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, toStringpublic SelectIntIterable(com.gs.collections.api.IntIterable delegate,
com.gs.collections.api.block.predicate.primitive.IntPredicate predicate)
public com.gs.collections.api.iterator.IntIterator intIterator()
public void each(com.gs.collections.api.block.procedure.primitive.IntProcedure procedure)
public int size()
com.gs.collections.api.PrimitiveIterablesize in interface com.gs.collections.api.PrimitiveIterablesize in class AbstractLazyIntIterablepublic boolean isEmpty()
com.gs.collections.api.PrimitiveIterableisEmpty in interface com.gs.collections.api.PrimitiveIterableisEmpty in class AbstractLazyIntIterablepublic boolean notEmpty()
com.gs.collections.api.PrimitiveIterablenotEmpty in interface com.gs.collections.api.PrimitiveIterablenotEmpty in class AbstractLazyIntIterablepublic int count(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate)
count in interface com.gs.collections.api.IntIterablecount in class AbstractLazyIntIterablepublic boolean anySatisfy(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate)
anySatisfy in interface com.gs.collections.api.IntIterableanySatisfy in class AbstractLazyIntIterablepublic boolean allSatisfy(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate)
allSatisfy in interface com.gs.collections.api.IntIterableallSatisfy in class AbstractLazyIntIterablepublic boolean noneSatisfy(com.gs.collections.api.block.predicate.primitive.IntPredicate predicate)
noneSatisfy in interface com.gs.collections.api.IntIterablenoneSatisfy in class AbstractLazyIntIterablepublic int[] toArray()
toArray in interface com.gs.collections.api.IntIterabletoArray in class AbstractLazyIntIterablepublic boolean containsAll(int... source)
containsAll in interface com.gs.collections.api.IntIterablecontainsAll in class AbstractLazyIntIterablepublic boolean containsAll(com.gs.collections.api.IntIterable source)
containsAll in interface com.gs.collections.api.IntIterablecontainsAll in class AbstractLazyIntIterablepublic com.gs.collections.api.list.primitive.MutableIntList toList()
toList in interface com.gs.collections.api.IntIterabletoList in class AbstractLazyIntIterablepublic com.gs.collections.api.set.primitive.MutableIntSet toSet()
toSet in interface com.gs.collections.api.IntIterabletoSet in class AbstractLazyIntIterablepublic com.gs.collections.api.bag.primitive.MutableIntBag toBag()
toBag in interface com.gs.collections.api.IntIterabletoBag in class AbstractLazyIntIterable