public interface MutableShortStack extends ShortStack
| Modifier and Type | Method and Description |
|---|---|
MutableShortStack |
asSynchronized() |
MutableShortStack |
asUnmodifiable() |
void |
clear()
Clears the Stack
|
<V> MutableStack<V> |
collect(ShortToObjectFunction<? extends V> function) |
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) |
MutableShortStack |
select(ShortPredicate predicate) |
equals, hashCode, peek, peek, peekAt, toImmutableallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, shortIterator, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid push(short item)
short pop()
ShortList pop(int count)
void clear()
MutableShortStack select(ShortPredicate predicate)
select in interface ShortIterableselect in interface ShortStackMutableShortStack reject(ShortPredicate predicate)
reject in interface ShortIterablereject in interface ShortStack<V> MutableStack<V> collect(ShortToObjectFunction<? extends V> function)
collect in interface ShortIterablecollect in interface ShortStackMutableShortStack asUnmodifiable()
MutableShortStack asSynchronized()
Copyright © 2004–2017. All rights reserved.