Class AbstractShortIterable
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractShortIterable
-
- All Implemented Interfaces:
PrimitiveIterable,ShortIterable
- Direct Known Subclasses:
AbstractMutableShortValuesMap,AbstractShortSet,ShortArrayList,ShortHashBag
public abstract class AbstractShortIterable extends Object implements ShortIterable
This file was automatically generated from template file abstractPrimitiveIterable.stg.- Since:
- 6.0
-
-
Constructor Summary
Constructors Constructor Description AbstractShortIterable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LazyShortIterableasLazy()doubleaverage()shortmaxIfEmpty(short defaultValue)doublemedian()shortminIfEmpty(short defaultValue)MutableShortBagtoBag()MutableShortListtoList()MutableShortSettoSet()short[]toSortedArray()MutableShortListtoSortedList()StringtoString()-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
-
Methods inherited from interface org.eclipse.collections.api.ShortIterable
allSatisfy, anySatisfy, averageIfEmpty, chunk, collect, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, medianIfEmpty, min, noneSatisfy, reduce, reduceIfEmpty, reject, reject, select, select, shortIterator, sum, summaryStatistics, tap, toArray, toArray, toSortedList, toSortedListBy, toSortedListBy
-
-
-
-
Method Detail
-
toString
public String toString()
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
minIfEmpty
public short minIfEmpty(short defaultValue)
- Specified by:
minIfEmptyin interfaceShortIterable
-
maxIfEmpty
public short maxIfEmpty(short defaultValue)
- Specified by:
maxIfEmptyin interfaceShortIterable
-
average
public double average()
- Specified by:
averagein interfaceShortIterable
-
median
public double median()
- Specified by:
medianin interfaceShortIterable
-
toSortedArray
public short[] toSortedArray()
- Specified by:
toSortedArrayin interfaceShortIterable
-
toSortedList
public MutableShortList toSortedList()
- Specified by:
toSortedListin interfaceShortIterable
-
asLazy
public LazyShortIterable asLazy()
- Specified by:
asLazyin interfaceShortIterable
-
toList
public MutableShortList toList()
- Specified by:
toListin interfaceShortIterable
-
toSet
public MutableShortSet toSet()
- Specified by:
toSetin interfaceShortIterable
-
toBag
public MutableShortBag toBag()
- Specified by:
toBagin interfaceShortIterable
-
-