public abstract class AbstractShortStack extends Object implements ShortStack
| Constructor and Description |
|---|
AbstractShortStack() |
| 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) |
LazyShortIterable |
asLazy() |
double |
average() |
RichIterable<ShortIterable> |
chunk(int size) |
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) |
boolean |
equals(Object otherStack) |
void |
forEachWithIndex(ShortIntProcedure procedure) |
short |
getFirst() |
int |
hashCode() |
int |
indexOf(short value) |
<V> V |
injectInto(V injectedValue,
ObjectShortToObjectFunction<? super V,? extends V> function) |
<T> T |
injectIntoWithIndex(T injectedValue,
ObjectShortIntToObjectFunction<? super T,? extends T> function) |
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) |
short |
peek() |
ShortList |
peek(int count) |
short |
peekAt(int index) |
ShortIterator |
shortIterator() |
int |
size() |
long |
sum() |
short[] |
toArray() |
short[] |
toArray(short[] target) |
MutableShortBag |
toBag() |
MutableShortList |
toList() |
MutableShortSet |
toSet() |
short[] |
toSortedArray() |
String |
toString() |
collect, collectWithIndex, reject, rejectWithIndex, select, selectWithIndex, tap, toImmutablecollectWithIndex, rejectWithIndex, selectWithIndexaverageIfEmpty, 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, toSortedList, toSortedList, toSortedListBy, toSortedListByisEmpty, notEmptypublic short peek()
peek in interface ShortStackpublic ShortList peek(int count)
peek in interface ShortStackpublic short peekAt(int index)
peekAt in interface ShortStackpublic ShortIterator shortIterator()
shortIterator in interface ShortIterablepublic void each(ShortProcedure procedure)
each in interface ShortIterablepublic int count(ShortPredicate predicate)
count in interface ShortIterablepublic boolean anySatisfy(ShortPredicate predicate)
anySatisfy in interface ShortIterablepublic boolean allSatisfy(ShortPredicate predicate)
allSatisfy in interface ShortIterablepublic boolean noneSatisfy(ShortPredicate predicate)
noneSatisfy in interface ShortIterablepublic short detectIfNone(ShortPredicate predicate, short ifNone)
detectIfNone in interface ShortIterablepublic short[] toArray()
toArray in interface ShortIterablepublic short[] toArray(short[] target)
toArray in interface ShortIterablepublic boolean contains(short value)
contains in interface ShortIterablepublic boolean containsAll(short... source)
containsAll in interface ShortIterablepublic boolean containsAll(ShortIterable source)
containsAll in interface ShortIterablepublic MutableShortList toList()
toList in interface ShortIterablepublic MutableShortSet toSet()
toSet in interface ShortIterablepublic MutableShortBag toBag()
toBag in interface ShortIterablepublic <V> V injectInto(V injectedValue,
ObjectShortToObjectFunction<? super V,? extends V> function)
injectInto in interface ShortIterablepublic LazyShortIterable asLazy()
asLazy in interface ShortIterablepublic int size()
size in interface PrimitiveIterablepublic boolean equals(Object otherStack)
equals in interface ShortStackequals in class Objectpublic int hashCode()
hashCode in interface ShortStackhashCode in class Objectpublic String toString()
toString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic short getFirst()
getFirst in interface OrderedShortIterablepublic int indexOf(short value)
indexOf in interface OrderedShortIterablepublic <T> T injectIntoWithIndex(T injectedValue,
ObjectShortIntToObjectFunction<? super T,? extends T> function)
injectIntoWithIndex in interface OrderedShortIterablepublic void forEachWithIndex(ShortIntProcedure procedure)
forEachWithIndex in interface OrderedShortIterablepublic RichIterable<ShortIterable> chunk(int size)
chunk in interface ShortIterablepublic long sum()
sum in interface ShortIterablepublic short max()
max in interface ShortIterablepublic short min()
min in interface ShortIterablepublic short minIfEmpty(short defaultValue)
minIfEmpty in interface ShortIterablepublic short maxIfEmpty(short defaultValue)
maxIfEmpty in interface ShortIterablepublic double average()
average in interface ShortIterablepublic double median()
median in interface ShortIterablepublic short[] toSortedArray()
toSortedArray in interface ShortIterableCopyright © 2004–2022. All rights reserved.