CharIterable
, CharStack
, OrderedCharIterable
, PrimitiveIterable
public interface ImmutableCharStack extends CharStack
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableStack<V> |
collect(CharToObjectFunction<? 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(CharIntToObjectFunction<? extends V> function) |
Returns a new ImmutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
ImmutableCharStack |
pop() |
|
ImmutableCharStack |
pop(int count) |
|
ImmutableCharStack |
push(char item) |
|
ImmutableCharStack |
reject(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return false for the specified predicate.
|
ImmutableCharStack |
select(CharPredicate predicate) |
Returns a new CharIterable with all of the elements in the CharIterable that
return true for the specified predicate.
|
default ImmutableCharStack |
tap(CharProcedure procedure) |
allSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, 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 ImmutableCharStack tap(CharProcedure procedure)
tap
in interface CharIterable
tap
in interface CharStack
ImmutableCharStack push(char item)
ImmutableCharStack pop()
ImmutableCharStack pop(int count)
ImmutableCharStack select(CharPredicate predicate)
CharIterable
select
in interface CharIterable
select
in interface CharStack
select
in interface OrderedCharIterable
ImmutableCharStack reject(CharPredicate predicate)
CharIterable
reject
in interface CharIterable
reject
in interface CharStack
reject
in interface OrderedCharIterable
<V> ImmutableStack<V> collect(CharToObjectFunction<? extends V> function)
CharIterable
collect
in interface CharIterable
collect
in interface CharStack
collect
in interface OrderedCharIterable
default <V> ImmutableStack<V> collectWithIndex(CharIntToObjectFunction<? extends V> function)
collectWithIndex
in interface CharStack
collectWithIndex
in interface OrderedCharIterable
Copyright © 2004–2019. All rights reserved.