public class LazyShortIterableAdapter extends AbstractLazyShortIterable
| Constructor and Description |
|---|
LazyShortIterableAdapter(ShortIterable delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(ShortPredicate predicate) |
boolean |
anySatisfy(ShortPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
double |
average() |
boolean |
contains(short value) |
boolean |
containsAll(short... source) |
boolean |
containsAll(ShortIterable source) |
int |
count(ShortPredicate predicate) |
short |
detectIfNone(ShortPredicate predicate,
short ifNone) |
void |
each(ShortProcedure procedure) |
<T> T |
injectInto(T injectedValue,
ObjectShortToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
short |
max() |
short |
maxIfEmpty(short defaultValue) |
double |
median() |
short |
min() |
short |
minIfEmpty(short defaultValue) |
boolean |
noneSatisfy(ShortPredicate predicate) |
boolean |
notEmpty() |
ShortIterator |
shortIterator() |
int |
size() |
long |
sum() |
short[] |
toArray() |
MutableShortBag |
toBag() |
MutableShortList |
toList() |
MutableShortSet |
toSet() |
short[] |
toSortedArray() |
MutableShortList |
toSortedList() |
String |
toString() |
asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollect, reject, select, tapequals, 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 LazyShortIterableAdapter(ShortIterable delegate)
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 boolean noneSatisfy(ShortPredicate predicate)
noneSatisfy in interface ShortIterablenoneSatisfy in class AbstractLazyShortIterablepublic short detectIfNone(ShortPredicate predicate, short ifNone)
detectIfNone in interface ShortIterabledetectIfNone in class AbstractLazyShortIterablepublic long sum()
sum in interface ShortIterablesum in class AbstractLazyShortIterablepublic short max()
max in interface ShortIterablemax in class AbstractLazyShortIterablepublic short min()
min in interface ShortIterablemin in class AbstractLazyShortIterablepublic short minIfEmpty(short defaultValue)
minIfEmpty in interface ShortIterableminIfEmpty in class AbstractLazyShortIterablepublic short maxIfEmpty(short defaultValue)
maxIfEmpty in interface ShortIterablemaxIfEmpty in class AbstractLazyShortIterablepublic double average()
average in interface ShortIterableaverage in class AbstractLazyShortIterablepublic double median()
median in interface ShortIterablemedian in class AbstractLazyShortIterablepublic short[] toSortedArray()
toSortedArray in interface ShortIterabletoSortedArray in class AbstractLazyShortIterablepublic MutableShortList toSortedList()
toSortedList in interface ShortIterabletoSortedList in class AbstractLazyShortIterablepublic short[] toArray()
toArray in interface ShortIterabletoArray in class AbstractLazyShortIterablepublic String toString()
toString in interface PrimitiveIterabletoString in class AbstractLazyShortIterablepublic String makeString()
makeString in interface PrimitiveIterablemakeString in class AbstractLazyShortIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablemakeString in class AbstractLazyShortIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablemakeString in class AbstractLazyShortIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterableappendString in class AbstractLazyShortIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterableappendString in class AbstractLazyShortIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterableappendString in class AbstractLazyShortIterablepublic boolean contains(short value)
contains in interface ShortIterablecontains in class AbstractLazyShortIterablepublic boolean containsAll(short... source)
containsAll in interface ShortIterablecontainsAll in class AbstractLazyShortIterablepublic boolean containsAll(ShortIterable source)
containsAll in interface ShortIterablecontainsAll 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 <T> T injectInto(T injectedValue,
ObjectShortToObjectFunction<? super T,? extends T> function)
injectInto in interface ShortIterableinjectInto in class AbstractLazyShortIterableCopyright © 2004–2022. All rights reserved.