public interface MutableFloatStack extends FloatStack
Modifier and Type | Method and Description |
---|---|
MutableFloatStack |
asSynchronized() |
MutableFloatStack |
asUnmodifiable() |
void |
clear()
Clears the Stack
|
<V> MutableStack<V> |
collect(FloatToObjectFunction<? extends V> function) |
float |
pop()
Removes and returns the top element of the stack.
|
FloatList |
pop(int count)
Removes and returns a FloatList of the number of elements specified by the count, beginning with the top of the stack.
|
void |
push(float item)
Adds an item to the top of the stack.
|
MutableFloatStack |
reject(FloatPredicate predicate) |
MutableFloatStack |
select(FloatPredicate predicate) |
equals, hashCode, peek, peek, peekAt, toImmutable
forEachWithIndex, getFirst, indexOf, injectIntoWithIndex
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, floatIterator, forEach, injectInto, 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(float item)
float pop()
FloatList pop(int count)
void clear()
MutableFloatStack select(FloatPredicate predicate)
select
in interface FloatIterable
select
in interface FloatStack
select
in interface OrderedFloatIterable
MutableFloatStack reject(FloatPredicate predicate)
reject
in interface FloatIterable
reject
in interface FloatStack
reject
in interface OrderedFloatIterable
<V> MutableStack<V> collect(FloatToObjectFunction<? extends V> function)
collect
in interface FloatIterable
collect
in interface FloatStack
collect
in interface OrderedFloatIterable
MutableFloatStack asUnmodifiable()
MutableFloatStack asSynchronized()
Copyright © 2004–2016. All rights reserved.