FloatIterable, FloatStack, OrderedFloatIterable, PrimitiveIterableFloatArrayStack, SynchronizedFloatStack, UnmodifiableFloatStackpublic interface MutableFloatStack extends FloatStack
| Modifier and Type | Method | Description |
|---|---|---|
MutableFloatStack |
asSynchronized() |
|
MutableFloatStack |
asUnmodifiable() |
|
void |
clear() |
Clears the Stack
|
<V> MutableStack<V> |
collect(FloatToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
default <V> MutableStack<V> |
collectWithIndex(FloatIntToObjectFunction<? extends V> function) |
Returns a new MutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
default MutableFloatStack |
newEmpty() |
Creates a new empty mutable version of the same stack type.
|
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) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
MutableFloatStack |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
default MutableFloatStack |
tap(FloatProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListequals, hashCode, peek, peek, peekAt, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndexappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringvoid push(float item)
float pop()
FloatList pop(int count)
void clear()
MutableFloatStack select(FloatPredicate predicate)
FloatIterableselect in interface FloatIterableselect in interface FloatStackselect in interface OrderedFloatIterableMutableFloatStack reject(FloatPredicate predicate)
FloatIterablereject in interface FloatIterablereject in interface FloatStackreject in interface OrderedFloatIterabledefault MutableFloatStack tap(FloatProcedure procedure)
tap in interface FloatIterabletap in interface FloatStack<V> MutableStack<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterablecollect in interface FloatIterablecollect in interface FloatStackcollect in interface OrderedFloatIterabledefault <V> MutableStack<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)
collectWithIndex in interface FloatStackcollectWithIndex in interface OrderedFloatIterableMutableFloatStack asUnmodifiable()
MutableFloatStack asSynchronized()
default MutableFloatStack newEmpty()
Copyright © 2004–2019. All rights reserved.