public interface MutableDoubleStack extends DoubleStack
Modifier and Type | Method and Description |
---|---|
MutableDoubleStack |
asSynchronized() |
MutableDoubleStack |
asUnmodifiable() |
void |
clear()
Clears the Stack
|
<V> MutableStack<V> |
collect(DoubleToObjectFunction<? extends V> function) |
double |
pop()
Removes and returns the top element of the stack.
|
DoubleList |
pop(int count)
Removes and returns a DoubleList of the number of elements specified by the count, beginning with the top of the stack.
|
void |
push(double item)
Adds an item to the top of the stack.
|
MutableDoubleStack |
reject(DoublePredicate predicate) |
MutableDoubleStack |
select(DoublePredicate predicate) |
equals, hashCode, peek, peek, peekAt, toImmutable
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, doubleIterator, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void push(double item)
double pop()
DoubleList pop(int count)
void clear()
MutableDoubleStack select(DoublePredicate predicate)
select
in interface DoubleIterable
select
in interface DoubleStack
MutableDoubleStack reject(DoublePredicate predicate)
reject
in interface DoubleIterable
reject
in interface DoubleStack
<V> MutableStack<V> collect(DoubleToObjectFunction<? extends V> function)
collect
in interface DoubleIterable
collect
in interface DoubleStack
MutableDoubleStack asUnmodifiable()
MutableDoubleStack asSynchronized()
Copyright © 2004–2016. All rights reserved.