FloatIterable
, OrderedFloatIterable
, PrimitiveIterable
ImmutableFloatStack
, MutableFloatStack
AbstractFloatStack
, FloatArrayStack
, SynchronizedFloatStack
, UnmodifiableFloatStack
public interface FloatStack extends OrderedFloatIterable
Modifier and Type | Method | Description |
---|---|---|
<V> StackIterable<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.
|
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) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
FloatStack |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
ImmutableFloatStack |
toImmutable() |
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, floatIterator, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
forEachWithIndex, getFirst, indexOf, injectIntoWithIndex
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)
FloatIterable
select
in interface FloatIterable
select
in interface OrderedFloatIterable
FloatStack reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
reject
in interface OrderedFloatIterable
<V> StackIterable<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
collect
in interface OrderedFloatIterable
boolean equals(Object o)
StackIterable.equals(Object)
.int hashCode()
StackIterable.hashCode()
.ImmutableFloatStack toImmutable()
Copyright © 2004–2017. All rights reserved.