Class AbstractLazyShortIterable
java.lang.Object
org.eclipse.collections.impl.lazy.primitive.AbstractLazyShortIterable
- All Implemented Interfaces:
LazyShortIterable,PrimitiveIterable,ShortIterable
- Direct Known Subclasses:
CollectBooleanToShortIterable,CollectByteToShortIterable,CollectCharToShortIterable,CollectDoubleToShortIterable,CollectFloatToShortIterable,CollectIntToShortIterable,CollectLongToShortIterable,CollectShortIterable,CollectShortToShortIterable,LazyShortIterableAdapter,ReverseShortIterable,SelectShortIterable,TapShortIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.
- Since:
- 5.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallSatisfy(ShortPredicate predicate) booleananySatisfy(ShortPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()doubleaverage()chunk(int size) <V> LazyIterable<V>collect(ShortToObjectFunction<? extends V> function) collectBoolean(ShortToBooleanFunction function) collectByte(ShortToByteFunction function) collectChar(ShortToCharFunction function) collectDouble(ShortToDoubleFunction function) collectFloat(ShortToFloatFunction function) collectInt(ShortToIntFunction function) collectLong(ShortToLongFunction function) collectShort(ShortToShortFunction function) booleancontains(short value) booleancontainsAll(short... source) booleancontainsAll(ShortIterable source) intcount(ShortPredicate predicate) shortdetectIfNone(ShortPredicate predicate, short ifNone) <V> LazyIterable<V>flatCollect(ShortToObjectFunction<? extends Iterable<V>> function) <T> TinjectInto(T injectedValue, ObjectShortToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) shortmax()shortmaxIfEmpty(short ifEmpty) doublemedian()shortmin()shortminIfEmpty(short ifEmpty) booleannoneSatisfy(ShortPredicate predicate) booleannotEmpty()reject(ShortPredicate predicate) select(ShortPredicate predicate) intsize()longsum()tap(ShortProcedure procedure) short[]toArray()toBag()toList()toSet()short[]toString()Methods 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, each, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, reduce, reduceIfEmpty, reject, select, shortIterator, summaryStatistics, toArray, toSortedList, toSortedListBy, toSortedListBy
-
Constructor Details
-
AbstractLazyShortIterable
public AbstractLazyShortIterable()
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
toString
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
contains
public boolean contains(short value) - Specified by:
containsin interfaceShortIterable
-
containsAll
public boolean containsAll(short... source) - Specified by:
containsAllin interfaceShortIterable
-
containsAll
- Specified by:
containsAllin interfaceShortIterable
-
select
- Specified by:
selectin interfaceLazyShortIterable- Specified by:
selectin interfaceShortIterable
-
reject
- Specified by:
rejectin interfaceLazyShortIterable- Specified by:
rejectin interfaceShortIterable
-
tap
- Specified by:
tapin interfaceLazyShortIterable- Specified by:
tapin interfaceShortIterable
-
collect
- Specified by:
collectin interfaceLazyShortIterable- Specified by:
collectin interfaceShortIterable
-
flatCollect
- Specified by:
flatCollectin interfaceLazyShortIterable
-
collectBoolean
- Specified by:
collectBooleanin interfaceLazyShortIterable- Since:
- 7.0
-
collectByte
- Specified by:
collectBytein interfaceLazyShortIterable- Since:
- 7.0
-
collectChar
- Specified by:
collectCharin interfaceLazyShortIterable- Since:
- 7.0
-
collectShort
- Specified by:
collectShortin interfaceLazyShortIterable- Since:
- 7.0
-
collectInt
- Specified by:
collectIntin interfaceLazyShortIterable- Since:
- 7.0
-
collectFloat
- Specified by:
collectFloatin interfaceLazyShortIterable- Since:
- 7.0
-
collectLong
- Specified by:
collectLongin interfaceLazyShortIterable- Since:
- 7.0
-
collectDouble
- Specified by:
collectDoublein interfaceLazyShortIterable- Since:
- 7.0
-
detectIfNone
- Specified by:
detectIfNonein interfaceShortIterable
-
count
- Specified by:
countin interfaceShortIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceShortIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceShortIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceShortIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectShortToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceShortIterable
-
chunk
- Specified by:
chunkin interfaceShortIterable
-
toArray
public short[] toArray()- Specified by:
toArrayin interfaceShortIterable
-
toList
- Specified by:
toListin interfaceShortIterable
-
toSet
- Specified by:
toSetin interfaceShortIterable
-
toBag
- Specified by:
toBagin interfaceShortIterable
-
sum
public long sum()- Specified by:
sumin interfaceShortIterable
-
max
public short max()- Specified by:
maxin interfaceShortIterable
-
maxIfEmpty
public short maxIfEmpty(short ifEmpty) - Specified by:
maxIfEmptyin interfaceShortIterable
-
min
public short min()- Specified by:
minin interfaceShortIterable
-
minIfEmpty
public short minIfEmpty(short ifEmpty) - Specified by:
minIfEmptyin 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
- Specified by:
toSortedListin interfaceShortIterable
-
asLazy
- Specified by:
asLazyin interfaceShortIterable
-