public interface ByteStack extends ByteIterable
| Modifier and Type | Method and Description |
|---|---|
<V> StackIterable<V> |
collect(ByteToObjectFunction<? 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(). |
byte |
peek()
Returns the top of the stack.
|
ByteList |
peek(int count)
Returns ByteList of the number of elements specified by the count, beginning with the top of the stack.
|
byte |
peekAt(int index)
Returns the element at the specified index.
|
ByteStack |
reject(BytePredicate predicate) |
ByteStack |
select(BytePredicate predicate) |
ImmutableByteStack |
toImmutable() |
allSatisfy, anySatisfy, asLazy, average, byteIterator, 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, toStringbyte peek()
ByteList peek(int count)
byte peekAt(int index)
index - the location to peek intoByteStack select(BytePredicate predicate)
select in interface ByteIterableByteStack reject(BytePredicate predicate)
reject in interface ByteIterable<V> StackIterable<V> collect(ByteToObjectFunction<? extends V> function)
collect in interface ByteIterableboolean equals(Object o)
StackIterable.equals(Object).int hashCode()
StackIterable.hashCode().ImmutableByteStack toImmutable()
Copyright © 2004–2016. All rights reserved.