public class CollectShortIterable<T> extends AbstractLazyShortIterable
| Constructor and Description |
|---|
CollectShortIterable(LazyIterable<T> adapted,
ShortFunction<? super T> function) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(ShortPredicate predicate) |
boolean |
anySatisfy(ShortPredicate predicate) |
boolean |
containsAll(short... source) |
boolean |
containsAll(ShortIterable source) |
int |
count(ShortPredicate predicate) |
void |
each(ShortProcedure procedure) |
boolean |
isEmpty() |
boolean |
notEmpty() |
ShortIterator |
shortIterator() |
int |
size() |
short[] |
toArray() |
MutableShortBag |
toBag() |
MutableShortList |
toList() |
MutableShortSet |
toSet() |
short[] |
toSortedArray() |
appendString, appendString, appendString, asLazy, average, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, detectIfNone, flatCollect, injectInto, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, tap, toSortedList, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaverageIfEmpty, 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, toSortedListBypublic CollectShortIterable(LazyIterable<T> adapted, ShortFunction<? super T> function)
public ShortIterator shortIterator()
public void each(ShortProcedure procedure)
public int size()
size in interface PrimitiveIterablesize in class AbstractLazyShortIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterableisEmpty in class AbstractLazyShortIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablenotEmpty in class AbstractLazyShortIterablepublic int count(ShortPredicate predicate)
count in interface ShortIterablecount in class AbstractLazyShortIterablepublic boolean anySatisfy(ShortPredicate predicate)
anySatisfy in interface ShortIterableanySatisfy in class AbstractLazyShortIterablepublic boolean allSatisfy(ShortPredicate predicate)
allSatisfy in interface ShortIterableallSatisfy in class AbstractLazyShortIterablepublic short[] toArray()
toArray in interface ShortIterabletoArray in class AbstractLazyShortIterablepublic short[] toSortedArray()
toSortedArray in interface ShortIterabletoSortedArray in class AbstractLazyShortIterablepublic MutableShortList toList()
toList in interface ShortIterabletoList in class AbstractLazyShortIterablepublic MutableShortSet toSet()
toSet in interface ShortIterabletoSet in class AbstractLazyShortIterablepublic MutableShortBag toBag()
toBag in interface ShortIterabletoBag in class AbstractLazyShortIterablepublic boolean containsAll(short... source)
containsAll in interface ShortIterablecontainsAll in class AbstractLazyShortIterablepublic boolean containsAll(ShortIterable source)
containsAll in interface ShortIterablecontainsAll in class AbstractLazyShortIterableCopyright © 2004–2022. All rights reserved.