public interface ImmutableIntStack extends IntStack
| Modifier and Type | Method and Description |
|---|---|
<V> ImmutableStack<V> |
collect(IntToObjectFunction<? 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(IntIntToObjectFunction<? extends V> function)
Returns a new ImmutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableIntStack |
pop() |
ImmutableIntStack |
pop(int count) |
ImmutableIntStack |
push(int item) |
ImmutableIntStack |
reject(IntPredicate predicate)
Returns a new IntIterable with all of the elements in the IntIterable that
return false for the specified predicate.
|
ImmutableIntStack |
select(IntPredicate predicate)
Returns a new IntIterable with all of the elements in the IntIterable that
return true for the specified predicate.
|
default ImmutableIntStack |
tap(IntProcedure procedure) |
equals, hashCode, peek, peek, peekAt, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndexallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, each, flatCollect, forEach, injectInto, intIterator, 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 ImmutableIntStack tap(IntProcedure procedure)
tap in interface IntIterabletap in interface IntStackImmutableIntStack push(int item)
ImmutableIntStack pop()
ImmutableIntStack pop(int count)
ImmutableIntStack select(IntPredicate predicate)
IntIterableselect in interface IntIterableselect in interface IntStackselect in interface OrderedIntIterableImmutableIntStack reject(IntPredicate predicate)
IntIterablereject in interface IntIterablereject in interface IntStackreject in interface OrderedIntIterable<V> ImmutableStack<V> collect(IntToObjectFunction<? extends V> function)
IntIterablecollect in interface IntIterablecollect in interface IntStackcollect in interface OrderedIntIterabledefault <V> ImmutableStack<V> collectWithIndex(IntIntToObjectFunction<? extends V> function)
collectWithIndex in interface IntStackcollectWithIndex in interface OrderedIntIterableCopyright © 2004–2021. All rights reserved.