@Immutable public class CollectIntIterable<T> extends AbstractLazyIntIterable
| Constructor and Description |
|---|
CollectIntIterable(com.gs.collections.api.LazyIterable<T> adapted,
com.gs.collections.api.block.function.primitive.IntFunction<? super T> function) |
| 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 |
forEach(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() |
int[] |
toSortedArray() |
com.gs.collections.api.list.primitive.MutableIntList |
toSortedList() |
appendString, appendString, appendString, asLazy, average, collect, contains, detectIfNone, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, reject, select, sum, toStringpublic com.gs.collections.api.iterator.IntIterator intIterator()
public void forEach(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 int[] toSortedArray()
toSortedArray in interface com.gs.collections.api.IntIterabletoSortedArray 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.list.primitive.MutableIntList toSortedList()
toSortedList in interface com.gs.collections.api.IntIterabletoSortedList 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 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 AbstractLazyIntIterable