public class FloatArrayStack extends AbstractFloatStack implements MutableFloatStack, Externalizable
ArrayStack, and is memory-optimized for float primitives.
This file was automatically generated from template file primitiveArrayStack.stg.| Constructor and Description |
|---|
FloatArrayStack() |
| Modifier and Type | Method and Description |
|---|---|
MutableFloatStack |
asSynchronized() |
MutableFloatStack |
asUnmodifiable() |
void |
clear() |
<V> MutableStack<V> |
collect(FloatToObjectFunction<? extends V> function) |
boolean |
equals(Object otherStack) |
int |
hashCode() |
FloatArrayStack |
newEmpty()
Creates a new empty FloatArrayStack.
|
static FloatArrayStack |
newStack(FloatIterable items) |
static FloatArrayStack |
newStackFromTopToBottom(float... items) |
static FloatArrayStack |
newStackFromTopToBottom(FloatIterable items) |
static FloatArrayStack |
newStackWith(float... items) |
float |
pop() |
FloatList |
pop(int count) |
void |
push(float item) |
void |
readExternal(ObjectInput in) |
MutableFloatStack |
reject(FloatPredicate predicate) |
MutableFloatStack |
select(FloatPredicate predicate) |
ImmutableFloatStack |
toImmutable() |
MutableFloatList |
toSortedList() |
void |
writeExternal(ObjectOutput out) |
allSatisfy, anySatisfy, appendString, appendString, appendString, asLazy, average, chunk, contains, containsAll, containsAll, count, detectIfNone, each, floatIterator, forEachWithIndex, getFirst, indexOf, injectInto, injectIntoWithIndex, makeString, makeString, makeString, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, peek, peek, peekAt, size, sum, toArray, toArray, toBag, toList, toSet, toSortedArray, toStringcollectWithIndex, rejectWithIndex, selectWithIndex, tappeek, peek, peekAtcollectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndex, rejectWithIndex, selectWithIndexallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toArray, toBag, toList, toSet, toSortedArray, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringpublic static FloatArrayStack newStackFromTopToBottom(float... items)
public static FloatArrayStack newStackWith(float... items)
public static FloatArrayStack newStack(FloatIterable items)
public static FloatArrayStack newStackFromTopToBottom(FloatIterable items)
public void push(float item)
push in interface MutableFloatStackpublic float pop()
pop in interface MutableFloatStackpublic FloatList pop(int count)
pop in interface MutableFloatStackpublic MutableFloatStack select(FloatPredicate predicate)
select in interface FloatIterableselect in interface OrderedFloatIterableselect in interface FloatStackselect in interface MutableFloatStackpublic MutableFloatStack reject(FloatPredicate predicate)
reject in interface FloatIterablereject in interface OrderedFloatIterablereject in interface FloatStackreject in interface MutableFloatStackpublic <V> MutableStack<V> collect(FloatToObjectFunction<? extends V> function)
collect in interface FloatIterablecollect in interface OrderedFloatIterablecollect in interface FloatStackcollect in interface MutableFloatStackpublic void clear()
clear in interface MutableFloatStackpublic MutableFloatList toSortedList()
toSortedList in interface FloatIterablepublic MutableFloatStack asUnmodifiable()
asUnmodifiable in interface MutableFloatStackpublic MutableFloatStack asSynchronized()
asSynchronized in interface MutableFloatStackpublic ImmutableFloatStack toImmutable()
toImmutable in interface FloatStackpublic FloatArrayStack newEmpty()
newEmpty in interface MutableFloatStackpublic boolean equals(Object otherStack)
equals in interface FloatStackequals in class AbstractFloatStackpublic int hashCode()
hashCode in interface FloatStackhashCode in class AbstractFloatStackpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException
readExternal in interface ExternalizableIOExceptionCopyright © 2004–2022. All rights reserved.