FloatIterable
, FloatStack
, OrderedFloatIterable
, PrimitiveIterable
public interface ImmutableFloatStack extends FloatStack
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableStack<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> ImmutableStack<V> |
collectWithIndex(FloatIntToObjectFunction<? extends V> function) |
Returns a new ImmutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableFloatStack |
pop() |
|
ImmutableFloatStack |
pop(int count) |
|
ImmutableFloatStack |
push(float item) |
|
ImmutableFloatStack |
reject(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
ImmutableFloatStack |
select(FloatPredicate predicate) |
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
default ImmutableFloatStack |
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, toSortedList
equals, hashCode, peek, peek, peekAt, toImmutable
collectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndex
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
default ImmutableFloatStack tap(FloatProcedure procedure)
tap
in interface FloatIterable
tap
in interface FloatStack
ImmutableFloatStack push(float item)
ImmutableFloatStack pop()
ImmutableFloatStack pop(int count)
ImmutableFloatStack select(FloatPredicate predicate)
FloatIterable
select
in interface FloatIterable
select
in interface FloatStack
select
in interface OrderedFloatIterable
ImmutableFloatStack reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
reject
in interface FloatStack
reject
in interface OrderedFloatIterable
<V> ImmutableStack<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
collect
in interface FloatStack
collect
in interface OrderedFloatIterable
default <V> ImmutableStack<V> collectWithIndex(FloatIntToObjectFunction<? extends V> function)
collectWithIndex
in interface FloatStack
collectWithIndex
in interface OrderedFloatIterable
Copyright © 2004–2019. All rights reserved.