public interface FloatStack extends FloatIterable
Modifier and Type | Method and Description |
---|---|
<V> StackIterable<V> |
collect(FloatToObjectFunction<? extends V> function) |
boolean |
equals(Object o)
Follows the same general contract as
StackIterable.equals(Object) . |
int |
hashCode()
Follows the same general contract as
StackIterable.hashCode() . |
float |
peek()
Returns the top of the stack.
|
FloatList |
peek(int count)
Returns FloatList of the number of elements specified by the count, beginning with the top of the stack.
|
float |
peekAt(int index)
Returns the element at the specified index.
|
FloatStack |
reject(FloatPredicate predicate) |
FloatStack |
select(FloatPredicate predicate) |
ImmutableFloatStack |
toImmutable() |
allSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, floatIterator, 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
float peek()
FloatList peek(int count)
float peekAt(int index)
index
- the location to peek intoFloatStack select(FloatPredicate predicate)
select
in interface FloatIterable
FloatStack reject(FloatPredicate predicate)
reject
in interface FloatIterable
<V> StackIterable<V> collect(FloatToObjectFunction<? extends V> function)
collect
in interface FloatIterable
boolean equals(Object o)
StackIterable.equals(Object)
.int hashCode()
StackIterable.hashCode()
.ImmutableFloatStack toImmutable()
Copyright © 2004–2016. All rights reserved.