@NotThreadSafe public final class UnmodifiableFloatStack extends Object implements org.eclipse.collections.api.stack.primitive.MutableFloatStack, Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyFloatIterable |
asLazy() |
org.eclipse.collections.api.stack.primitive.MutableFloatStack |
asSynchronized() |
org.eclipse.collections.api.stack.primitive.MutableFloatStack |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.stack.MutableStack<V> |
collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function) |
boolean |
contains(float value) |
boolean |
containsAll(float... source) |
boolean |
containsAll(org.eclipse.collections.api.FloatIterable source) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
float |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate,
float ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
boolean |
equals(Object otherStack) |
org.eclipse.collections.api.iterator.FloatIterator |
floatIterator() |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
float |
max() |
float |
maxIfEmpty(float defaultValue) |
double |
median() |
float |
min() |
float |
minIfEmpty(float defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
boolean |
notEmpty() |
float |
peek() |
org.eclipse.collections.api.list.primitive.FloatList |
peek(int count) |
float |
peekAt(int index) |
float |
pop() |
org.eclipse.collections.api.list.primitive.FloatList |
pop(int count) |
void |
push(float item) |
org.eclipse.collections.api.stack.primitive.MutableFloatStack |
reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
org.eclipse.collections.api.stack.primitive.MutableFloatStack |
select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate) |
int |
size() |
double |
sum() |
float[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableFloatBag |
toBag() |
org.eclipse.collections.api.stack.primitive.ImmutableFloatStack |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableFloatList |
toList() |
org.eclipse.collections.api.set.primitive.MutableFloatSet |
toSet() |
float[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableFloatList |
toSortedList() |
String |
toString() |
public void push(float item)
push in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic float pop()
pop in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic org.eclipse.collections.api.list.primitive.FloatList pop(int count)
pop in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic float peek()
peek in interface org.eclipse.collections.api.stack.primitive.FloatStackpublic org.eclipse.collections.api.list.primitive.FloatList peek(int count)
peek in interface org.eclipse.collections.api.stack.primitive.FloatStackpublic float peekAt(int index)
peekAt in interface org.eclipse.collections.api.stack.primitive.FloatStackpublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic void clear()
clear in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic boolean contains(float value)
contains in interface org.eclipse.collections.api.FloatIterablepublic boolean containsAll(float... source)
containsAll in interface org.eclipse.collections.api.FloatIterablepublic boolean containsAll(org.eclipse.collections.api.FloatIterable source)
containsAll in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.iterator.FloatIterator floatIterator()
floatIterator in interface org.eclipse.collections.api.FloatIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
forEach in interface org.eclipse.collections.api.FloatIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.FloatProcedure procedure)
each in interface org.eclipse.collections.api.FloatIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
count in interface org.eclipse.collections.api.FloatIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.FloatIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.FloatIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.FloatIterablepublic float detectIfNone(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate,
float ifNone)
detectIfNone in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.stack.primitive.MutableFloatStack select(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
select in interface org.eclipse.collections.api.FloatIterableselect in interface org.eclipse.collections.api.stack.primitive.FloatStackselect in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic org.eclipse.collections.api.stack.primitive.MutableFloatStack reject(org.eclipse.collections.api.block.predicate.primitive.FloatPredicate predicate)
reject in interface org.eclipse.collections.api.FloatIterablereject in interface org.eclipse.collections.api.stack.primitive.FloatStackreject in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic <V> org.eclipse.collections.api.stack.MutableStack<V> collect(org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.FloatIterablecollect in interface org.eclipse.collections.api.stack.primitive.FloatStackcollect in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic double sum()
sum in interface org.eclipse.collections.api.FloatIterablepublic float max()
max in interface org.eclipse.collections.api.FloatIterablepublic float min()
min in interface org.eclipse.collections.api.FloatIterablepublic float minIfEmpty(float defaultValue)
minIfEmpty in interface org.eclipse.collections.api.FloatIterablepublic float maxIfEmpty(float defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.FloatIterablepublic double average()
average in interface org.eclipse.collections.api.FloatIterablepublic double median()
median in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.list.primitive.MutableFloatList toSortedList()
toSortedList in interface org.eclipse.collections.api.FloatIterablepublic float[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.FloatIterablepublic float[] toArray()
toArray in interface org.eclipse.collections.api.FloatIterablepublic String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.list.primitive.MutableFloatList toList()
toList in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.set.primitive.MutableFloatSet toSet()
toSet in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.bag.primitive.MutableFloatBag toBag()
toBag in interface org.eclipse.collections.api.FloatIterablepublic boolean equals(Object otherStack)
public int hashCode()
public org.eclipse.collections.api.LazyFloatIterable asLazy()
asLazy in interface org.eclipse.collections.api.FloatIterablepublic org.eclipse.collections.api.stack.primitive.MutableFloatStack asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic org.eclipse.collections.api.stack.primitive.MutableFloatStack asSynchronized()
asSynchronized in interface org.eclipse.collections.api.stack.primitive.MutableFloatStackpublic org.eclipse.collections.api.stack.primitive.ImmutableFloatStack toImmutable()
toImmutable in interface org.eclipse.collections.api.stack.primitive.FloatStackpublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectFloatToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.FloatIterableCopyright © 2004–2018. All rights reserved.