public interface MutableLongStack extends LongStack
| Modifier and Type | Method and Description |
|---|---|
MutableLongStack |
asSynchronized() |
MutableLongStack |
asUnmodifiable() |
void |
clear()
Clears the Stack
|
<V> MutableStack<V> |
collect(LongToObjectFunction<? extends V> function) |
long |
pop()
Removes and returns the top element of the stack.
|
LongList |
pop(int count)
Removes and returns a LongList of the number of elements specified by the count, beginning with the top of the stack.
|
void |
push(long item)
Adds an item to the top of the stack.
|
MutableLongStack |
reject(LongPredicate predicate) |
MutableLongStack |
select(LongPredicate predicate) |
equals, hashCode, peek, peek, peekAt, toImmutableallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, longIterator, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid push(long item)
long pop()
LongList pop(int count)
void clear()
MutableLongStack select(LongPredicate predicate)
select in interface LongIterableselect in interface LongStackMutableLongStack reject(LongPredicate predicate)
reject in interface LongIterablereject in interface LongStack<V> MutableStack<V> collect(LongToObjectFunction<? extends V> function)
collect in interface LongIterablecollect in interface LongStackMutableLongStack asUnmodifiable()
MutableLongStack asSynchronized()
Copyright © 2004–2017. All rights reserved.