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, toImmutable
forEachWithIndex, getFirst, indexOf, injectIntoWithIndex
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, shortIterator, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void push(short item)
short pop()
ShortList pop(int count)
void clear()
MutableShortStack select(ShortPredicate predicate)
select
in interface OrderedShortIterable
select
in interface ShortIterable
select
in interface ShortStack
MutableShortStack reject(ShortPredicate predicate)
reject
in interface OrderedShortIterable
reject
in interface ShortIterable
reject
in interface ShortStack
<V> MutableStack<V> collect(ShortToObjectFunction<? extends V> function)
collect
in interface OrderedShortIterable
collect
in interface ShortIterable
collect
in interface ShortStack
MutableShortStack asUnmodifiable()
MutableShortStack asSynchronized()
Copyright © 2004–2016. All rights reserved.