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
public abstract class AbstractLazyShortIterable extends Object implements LazyShortIterable
This file was automatically generated from template file abstractLazyPrimitiveIterable.stg.- Since:
- 5.0
-
-
Constructor Summary
Constructors Constructor Description AbstractLazyShortIterable()
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods 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
-
-
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
toString
public String 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
public String makeString()
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String separator)
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
public String makeString(String start, String separator, String end)
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String separator)
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- 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
public boolean containsAll(ShortIterable source)
- Specified by:
containsAllin interfaceShortIterable
-
select
public LazyShortIterable select(ShortPredicate predicate)
- Specified by:
selectin interfaceLazyShortIterable- Specified by:
selectin interfaceShortIterable
-
reject
public LazyShortIterable reject(ShortPredicate predicate)
- Specified by:
rejectin interfaceLazyShortIterable- Specified by:
rejectin interfaceShortIterable
-
tap
public LazyShortIterable tap(ShortProcedure procedure)
- Specified by:
tapin interfaceLazyShortIterable- Specified by:
tapin interfaceShortIterable
-
collect
public <V> LazyIterable<V> collect(ShortToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceLazyShortIterable- Specified by:
collectin interfaceShortIterable
-
flatCollect
public <V> LazyIterable<V> flatCollect(ShortToObjectFunction<? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceLazyShortIterable
-
collectBoolean
public LazyBooleanIterable collectBoolean(ShortToBooleanFunction function)
- Specified by:
collectBooleanin interfaceLazyShortIterable- Since:
- 7.0
-
collectByte
public LazyByteIterable collectByte(ShortToByteFunction function)
- Specified by:
collectBytein interfaceLazyShortIterable- Since:
- 7.0
-
collectChar
public LazyCharIterable collectChar(ShortToCharFunction function)
- Specified by:
collectCharin interfaceLazyShortIterable- Since:
- 7.0
-
collectShort
public LazyShortIterable collectShort(ShortToShortFunction function)
- Specified by:
collectShortin interfaceLazyShortIterable- Since:
- 7.0
-
collectInt
public LazyIntIterable collectInt(ShortToIntFunction function)
- Specified by:
collectIntin interfaceLazyShortIterable- Since:
- 7.0
-
collectFloat
public LazyFloatIterable collectFloat(ShortToFloatFunction function)
- Specified by:
collectFloatin interfaceLazyShortIterable- Since:
- 7.0
-
collectLong
public LazyLongIterable collectLong(ShortToLongFunction function)
- Specified by:
collectLongin interfaceLazyShortIterable- Since:
- 7.0
-
collectDouble
public LazyDoubleIterable collectDouble(ShortToDoubleFunction function)
- Specified by:
collectDoublein interfaceLazyShortIterable- Since:
- 7.0
-
detectIfNone
public short detectIfNone(ShortPredicate predicate, short ifNone)
- Specified by:
detectIfNonein interfaceShortIterable
-
count
public int count(ShortPredicate predicate)
- Specified by:
countin interfaceShortIterable
-
anySatisfy
public boolean anySatisfy(ShortPredicate predicate)
- Specified by:
anySatisfyin interfaceShortIterable
-
allSatisfy
public boolean allSatisfy(ShortPredicate predicate)
- Specified by:
allSatisfyin interfaceShortIterable
-
noneSatisfy
public boolean noneSatisfy(ShortPredicate predicate)
- Specified by:
noneSatisfyin interfaceShortIterable
-
injectInto
public <T> T injectInto(T injectedValue, ObjectShortToObjectFunction<? super T,? extends T> function)- Specified by:
injectIntoin interfaceShortIterable
-
chunk
public RichIterable<ShortIterable> chunk(int size)
- Specified by:
chunkin interfaceShortIterable
-
toArray
public short[] toArray()
- Specified by:
toArrayin 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
-
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
public MutableShortList toSortedList()
- Specified by:
toSortedListin interfaceShortIterable
-
asLazy
public LazyShortIterable asLazy()
- Specified by:
asLazyin interfaceShortIterable
-
-