Class ReverseShortIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyShortIterable
org.eclipse.collections.impl.lazy.primitive.ReverseShortIterable
- All Implemented Interfaces:
LazyShortIterable,PrimitiveIterable,ShortIterable
This file was automatically generated from template file reversePrimitiveIterable.stg.
- Since:
- 5.0.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReverseShortIterableasLazy()doubleaverage()booleancontains(short value) booleancontainsAll(short... source) booleancontainsAll(ShortIterable source) voideach(ShortProcedure procedure) booleanisEmpty()shortmax()shortmaxIfEmpty(short defaultValue) doublemedian()shortmin()shortminIfEmpty(short defaultValue) booleannotEmpty()intsize()longsum()short[]toArray()toBag()toList()toSet()short[]Methods inherited from class org.eclipse.collections.impl.lazy.primitive.AbstractLazyShortIterable
allSatisfy, anySatisfy, appendString, appendString, appendString, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, count, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, noneSatisfy, reject, select, tap, toSortedList, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.collections.api.ShortIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
ReverseShortIterable
-
-
Method Details
-
adapt
-
shortIterator
-
each
- Since:
- 7.0.
-
sum
public long sum()- Specified by:
sumin interfaceShortIterable- Overrides:
sumin classAbstractLazyShortIterable
-
max
public short max()- Specified by:
maxin interfaceShortIterable- Overrides:
maxin classAbstractLazyShortIterable
-
min
public short min()- Specified by:
minin interfaceShortIterable- Overrides:
minin classAbstractLazyShortIterable
-
minIfEmpty
public short minIfEmpty(short defaultValue) - Specified by:
minIfEmptyin interfaceShortIterable- Overrides:
minIfEmptyin classAbstractLazyShortIterable
-
maxIfEmpty
public short maxIfEmpty(short defaultValue) - Specified by:
maxIfEmptyin interfaceShortIterable- Overrides:
maxIfEmptyin classAbstractLazyShortIterable
-
average
public double average()- Specified by:
averagein interfaceShortIterable- Overrides:
averagein classAbstractLazyShortIterable
-
median
public double median()- Specified by:
medianin interfaceShortIterable- Overrides:
medianin classAbstractLazyShortIterable
-
toSortedArray
public short[] toSortedArray()- Specified by:
toSortedArrayin interfaceShortIterable- Overrides:
toSortedArrayin classAbstractLazyShortIterable
-
toArray
public short[] toArray()- Specified by:
toArrayin interfaceShortIterable- Overrides:
toArrayin classAbstractLazyShortIterable
-
contains
public boolean contains(short value) - Specified by:
containsin interfaceShortIterable- Overrides:
containsin classAbstractLazyShortIterable
-
containsAll
public boolean containsAll(short... source) - Specified by:
containsAllin interfaceShortIterable- Overrides:
containsAllin classAbstractLazyShortIterable
-
containsAll
- Specified by:
containsAllin interfaceShortIterable- Overrides:
containsAllin classAbstractLazyShortIterable
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable- Overrides:
sizein classAbstractLazyShortIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable- Overrides:
isEmptyin classAbstractLazyShortIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable- Overrides:
notEmptyin classAbstractLazyShortIterable
-
toList
- Specified by:
toListin interfaceShortIterable- Overrides:
toListin classAbstractLazyShortIterable
-
toSet
- Specified by:
toSetin interfaceShortIterable- Overrides:
toSetin classAbstractLazyShortIterable
-
toBag
- Specified by:
toBagin interfaceShortIterable- Overrides:
toBagin classAbstractLazyShortIterable
-
asLazy
- Specified by:
asLazyin interfaceShortIterable- Overrides:
asLazyin classAbstractLazyShortIterable
-