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