public interface CharStack extends CharIterable
| Modifier and Type | Method and Description |
|---|---|
<V> StackIterable<V> |
collect(CharToObjectFunction<? extends V> function) |
boolean |
equals(Object o)
Follows the same general contract as
StackIterable.equals(Object). |
int |
hashCode()
Follows the same general contract as
StackIterable.hashCode(). |
char |
peek()
Returns the top of the stack.
|
CharList |
peek(int count)
Returns CharList of the number of elements specified by the count, beginning with the top of the stack.
|
char |
peekAt(int index)
Returns the element at the specified index.
|
CharStack |
reject(CharPredicate predicate) |
CharStack |
select(CharPredicate predicate) |
ImmutableCharStack |
toImmutable() |
allSatisfy, anySatisfy, asLazy, average, charIterator, contains, containsAll, containsAll, count, detectIfNone, each, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toStringchar peek()
CharList peek(int count)
char peekAt(int index)
index - the location to peek intoCharStack select(CharPredicate predicate)
select in interface CharIterableCharStack reject(CharPredicate predicate)
reject in interface CharIterable<V> StackIterable<V> collect(CharToObjectFunction<? extends V> function)
collect in interface CharIterableboolean equals(Object o)
StackIterable.equals(Object).int hashCode()
StackIterable.hashCode().ImmutableCharStack toImmutable()
Copyright © 2004–2017. All rights reserved.