public interface IntIterable extends PrimitiveIterable
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(IntPredicate predicate) |
boolean |
anySatisfy(IntPredicate predicate) |
LazyIntIterable |
asLazy() |
double |
average() |
<V> RichIterable<V> |
collect(IntToObjectFunction<? extends V> function) |
boolean |
contains(int value) |
boolean |
containsAll(int... source) |
boolean |
containsAll(IntIterable source) |
int |
count(IntPredicate predicate) |
int |
detectIfNone(IntPredicate predicate,
int ifNone) |
void |
forEach(IntProcedure procedure) |
<T> T |
injectInto(T injectedValue,
ObjectIntToObjectFunction<? super T,? extends T> function) |
IntIterator |
intIterator() |
int |
max() |
int |
maxIfEmpty(int defaultValue) |
double |
median() |
int |
min() |
int |
minIfEmpty(int defaultValue) |
boolean |
noneSatisfy(IntPredicate predicate) |
IntIterable |
reject(IntPredicate predicate) |
IntIterable |
select(IntPredicate predicate) |
long |
sum() |
int[] |
toArray() |
MutableIntBag |
toBag() |
MutableIntList |
toList() |
MutableIntSet |
toSet() |
int[] |
toSortedArray() |
MutableIntList |
toSortedList() |
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringIntIterator intIterator()
int[] toArray()
boolean contains(int value)
boolean containsAll(int... source)
boolean containsAll(IntIterable source)
void forEach(IntProcedure procedure)
IntIterable select(IntPredicate predicate)
IntIterable reject(IntPredicate predicate)
<V> RichIterable<V> collect(IntToObjectFunction<? extends V> function)
int detectIfNone(IntPredicate predicate, int ifNone)
int count(IntPredicate predicate)
boolean anySatisfy(IntPredicate predicate)
boolean allSatisfy(IntPredicate predicate)
boolean noneSatisfy(IntPredicate predicate)
MutableIntList toList()
MutableIntSet toSet()
MutableIntBag toBag()
LazyIntIterable asLazy()
<T> T injectInto(T injectedValue,
ObjectIntToObjectFunction<? super T,? extends T> function)
long sum()
int max()
int maxIfEmpty(int defaultValue)
int min()
int minIfEmpty(int defaultValue)
double average()
double median()
int[] toSortedArray()
MutableIntList toSortedList()