public abstract class AbstractIntIterable extends Object implements IntIterable
Constructor and Description |
---|
AbstractIntIterable() |
Modifier and Type | Method and Description |
---|---|
LazyIntIterable |
asLazy() |
double |
average() |
boolean |
containsAll(int... source) |
boolean |
containsAll(IntIterable source) |
int |
maxIfEmpty(int defaultValue) |
double |
median() |
int |
minIfEmpty(int defaultValue) |
MutableIntBag |
toBag() |
MutableIntList |
toList() |
MutableIntSet |
toSet() |
int[] |
toSortedArray() |
MutableIntList |
toSortedList() |
String |
toString()
Returns a string representation of this PrimitiveIterable.
|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
allSatisfy, anySatisfy, collect, contains, count, detectIfNone, each, forEach, injectInto, intIterator, max, min, noneSatisfy, reject, select, sum, summaryStatistics, toArray
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
public String toString()
PrimitiveIterable
toString
in interface PrimitiveIterable
toString
in class Object
public int minIfEmpty(int defaultValue)
minIfEmpty
in interface IntIterable
public int maxIfEmpty(int defaultValue)
maxIfEmpty
in interface IntIterable
public double average()
average
in interface IntIterable
public double median()
median
in interface IntIterable
public int[] toSortedArray()
toSortedArray
in interface IntIterable
public MutableIntList toSortedList()
toSortedList
in interface IntIterable
public LazyIntIterable asLazy()
asLazy
in interface IntIterable
public MutableIntList toList()
toList
in interface IntIterable
public MutableIntSet toSet()
toSet
in interface IntIterable
public MutableIntBag toBag()
toBag
in interface IntIterable
public boolean containsAll(int... source)
containsAll
in interface IntIterable
public boolean containsAll(IntIterable source)
containsAll
in interface IntIterable
Copyright © 2004–2016. All rights reserved.