public interface ImmutableDoubleStack extends DoubleStack
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableStack<V> |
collect(DoubleToObjectFunction<? 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(DoubleIntToObjectFunction<? extends V> function)
Returns a new ImmutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableDoubleStack |
pop() |
ImmutableDoubleStack |
pop(int count) |
ImmutableDoubleStack |
push(double item) |
ImmutableDoubleStack |
reject(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
default ImmutableDoubleStack |
rejectWithIndex(DoubleIntPredicate predicate)
Returns a new ImmutableDoubleStack excluding all elements with corresponding indexes matching the specified predicate.
|
ImmutableDoubleStack |
select(DoublePredicate predicate)
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
default ImmutableDoubleStack |
selectWithIndex(DoubleIntPredicate predicate)
Returns a new ImmutableDoubleStack including all elements with corresponding indexes matching the specified predicate.
|
default ImmutableDoubleStack |
tap(DoubleProcedure procedure) |
equals, hashCode, peek, peek, peekAt, toImmutablecollectWithIndex, 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, doubleIterator, each, flatCollect, 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, toSortedList, toSortedListBy, toSortedListByappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdefault ImmutableDoubleStack tap(DoubleProcedure procedure)
tap in interface DoubleIterabletap in interface DoubleStackImmutableDoubleStack push(double item)
ImmutableDoubleStack pop()
ImmutableDoubleStack pop(int count)
ImmutableDoubleStack select(DoublePredicate predicate)
DoubleIterableselect in interface DoubleIterableselect in interface DoubleStackselect in interface OrderedDoubleIterableImmutableDoubleStack reject(DoublePredicate predicate)
DoubleIterablereject in interface DoubleIterablereject in interface DoubleStackreject in interface OrderedDoubleIterable<V> ImmutableStack<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterablecollect in interface DoubleIterablecollect in interface DoubleStackcollect in interface OrderedDoubleIterabledefault ImmutableDoubleStack selectWithIndex(DoubleIntPredicate predicate)
selectWithIndex in interface DoubleStackselectWithIndex in interface OrderedDoubleIterabledefault ImmutableDoubleStack rejectWithIndex(DoubleIntPredicate predicate)
rejectWithIndex in interface DoubleStackrejectWithIndex in interface OrderedDoubleIterabledefault <V> ImmutableStack<V> collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
collectWithIndex in interface DoubleStackcollectWithIndex in interface OrderedDoubleIterableCopyright © 2004–2022. All rights reserved.