public interface ImmutableCharStack extends CharStack
| Modifier and Type | Method and 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.
|
default ImmutableCharStack |
rejectWithIndex(CharIntPredicate predicate)
Returns a new ImmutableCharStack excluding all elements with corresponding indexes matching 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 |
selectWithIndex(CharIntPredicate predicate)
Returns a new ImmutableCharStack including all elements with corresponding indexes matching the specified predicate.
|
default ImmutableCharStack |
tap(CharProcedure procedure) |
equals, hashCode, peek, peek, peekAt, toImmutablecollectWithIndex, forEachWithIndex, getFirst, indexOf, injectIntoWithIndex, rejectWithIndex, selectWithIndexallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, charIterator, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, containsAny, containsAny, containsNone, containsNone, count, detectIfNone, 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 ImmutableCharStack tap(CharProcedure procedure)
tap in interface CharIterabletap in interface CharStackImmutableCharStack push(char item)
ImmutableCharStack pop()
ImmutableCharStack pop(int count)
ImmutableCharStack select(CharPredicate predicate)
CharIterableselect in interface CharIterableselect in interface CharStackselect in interface OrderedCharIterableImmutableCharStack reject(CharPredicate predicate)
CharIterablereject in interface CharIterablereject in interface CharStackreject in interface OrderedCharIterable<V> ImmutableStack<V> collect(CharToObjectFunction<? extends V> function)
CharIterablecollect in interface CharIterablecollect in interface CharStackcollect in interface OrderedCharIterabledefault ImmutableCharStack selectWithIndex(CharIntPredicate predicate)
selectWithIndex in interface CharStackselectWithIndex in interface OrderedCharIterabledefault ImmutableCharStack rejectWithIndex(CharIntPredicate predicate)
rejectWithIndex in interface CharStackrejectWithIndex in interface OrderedCharIterabledefault <V> ImmutableStack<V> collectWithIndex(CharIntToObjectFunction<? extends V> function)
collectWithIndex in interface CharStackcollectWithIndex in interface OrderedCharIterableCopyright © 2004–2023. All rights reserved.