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