public abstract class AbstractShortIterable extends Object implements ShortIterable
Constructor and Description |
---|
AbstractShortIterable() |
Modifier and Type | Method and Description |
---|---|
LazyShortIterable |
asLazy() |
double |
average() |
boolean |
containsAll(short... source) |
boolean |
containsAll(ShortIterable source) |
short |
maxIfEmpty(short defaultValue) |
double |
median() |
short |
minIfEmpty(short defaultValue) |
MutableShortBag |
toBag() |
MutableShortList |
toList() |
MutableShortSet |
toSet() |
short[] |
toSortedArray() |
MutableShortList |
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, max, min, noneSatisfy, reject, select, shortIterator, 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 short minIfEmpty(short defaultValue)
minIfEmpty
in interface ShortIterable
public short maxIfEmpty(short defaultValue)
maxIfEmpty
in interface ShortIterable
public double average()
average
in interface ShortIterable
public double median()
median
in interface ShortIterable
public short[] toSortedArray()
toSortedArray
in interface ShortIterable
public MutableShortList toSortedList()
toSortedList
in interface ShortIterable
public LazyShortIterable asLazy()
asLazy
in interface ShortIterable
public MutableShortList toList()
toList
in interface ShortIterable
public MutableShortSet toSet()
toSet
in interface ShortIterable
public MutableShortBag toBag()
toBag
in interface ShortIterable
public boolean containsAll(short... source)
containsAll
in interface ShortIterable
public boolean containsAll(ShortIterable source)
containsAll
in interface ShortIterable
Copyright © 2004–2016. All rights reserved.