OrderedShortIterable, PrimitiveIterable, ShortIterable, ShortStackShortArrayStack, SynchronizedShortStack, UnmodifiableShortStackpublic interface MutableShortStack extends ShortStack
| Modifier and Type | Method | Description |
|---|---|---|
MutableShortStack |
asSynchronized() |
|
MutableShortStack |
asUnmodifiable() |
|
void |
clear() |
Clears the Stack
|
<V> MutableStack<V> |
collect(ShortToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
short |
pop() |
Removes and returns the top element of the stack.
|
ShortList |
pop(int count) |
Removes and returns a ShortList of the number of elements specified by the count, beginning with the top of the stack.
|
void |
push(short item) |
Adds an item to the top of the stack.
|
MutableShortStack |
reject(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.
|
MutableShortStack |
select(ShortPredicate predicate) |
Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.
|
forEachWithIndex, getFirst, indexOf, injectIntoWithIndexappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringallSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListequals, hashCode, peek, peek, peekAt, toImmutablevoid push(short item)
short pop()
ShortList pop(int count)
void clear()
MutableShortStack select(ShortPredicate predicate)
ShortIterableselect in interface OrderedShortIterableselect in interface ShortIterableselect in interface ShortStackMutableShortStack reject(ShortPredicate predicate)
ShortIterablereject in interface OrderedShortIterablereject in interface ShortIterablereject in interface ShortStack<V> MutableStack<V> collect(ShortToObjectFunction<? extends V> function)
ShortIterablecollect in interface OrderedShortIterablecollect in interface ShortIterablecollect in interface ShortStackMutableShortStack asUnmodifiable()
MutableShortStack asSynchronized()
Copyright © 2004–2017. All rights reserved.