LongIterable, LongStack, OrderedLongIterable, PrimitiveIterablepublic interface ImmutableLongStack extends LongStack
| Modifier and Type | Method | Description |
|---|---|---|
<V> ImmutableStack<V> |
collect(LongToObjectFunction<? 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(LongIntToObjectFunction<? extends V> function) |
Returns a new ImmutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableLongStack |
pop() |
|
ImmutableLongStack |
pop(int count) |
|
ImmutableLongStack |
push(long item) |
|
ImmutableLongStack |
reject(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return false for the specified predicate.
|
ImmutableLongStack |
select(LongPredicate predicate) |
Returns a new LongIterable with all of the elements in the LongIterable that
return true for the specified predicate.
|
default ImmutableLongStack |
tap(LongProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, longIterator, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListequals, hashCode, peek, peek, peekAt, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndexappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringdefault ImmutableLongStack tap(LongProcedure procedure)
tap in interface LongIterabletap in interface LongStackImmutableLongStack push(long item)
ImmutableLongStack pop()
ImmutableLongStack pop(int count)
ImmutableLongStack select(LongPredicate predicate)
LongIterableselect in interface LongIterableselect in interface LongStackselect in interface OrderedLongIterableImmutableLongStack reject(LongPredicate predicate)
LongIterablereject in interface LongIterablereject in interface LongStackreject in interface OrderedLongIterable<V> ImmutableStack<V> collect(LongToObjectFunction<? extends V> function)
LongIterablecollect in interface LongIterablecollect in interface LongStackcollect in interface OrderedLongIterabledefault <V> ImmutableStack<V> collectWithIndex(LongIntToObjectFunction<? extends V> function)
collectWithIndex in interface LongStackcollectWithIndex in interface OrderedLongIterableCopyright © 2004–2019. All rights reserved.