public interface MutableByteStack extends ByteStack
Modifier and Type | Method and Description |
---|---|
MutableByteStack |
asSynchronized() |
MutableByteStack |
asUnmodifiable() |
void |
clear()
Clears the Stack
|
<V> MutableStack<V> |
collect(ByteToObjectFunction<? extends V> function) |
byte |
pop()
Removes and returns the top element of the stack.
|
ByteList |
pop(int count)
Removes and returns a ByteList of the number of elements specified by the count, beginning with the top of the stack.
|
void |
push(byte item)
Adds an item to the top of the stack.
|
MutableByteStack |
reject(BytePredicate predicate) |
MutableByteStack |
select(BytePredicate predicate) |
equals, hashCode, peek, peek, peekAt, 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, toSortedList
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size, toString
void push(byte item)
byte pop()
ByteList pop(int count)
void clear()
MutableByteStack select(BytePredicate predicate)
select
in interface ByteIterable
select
in interface ByteStack
MutableByteStack reject(BytePredicate predicate)
reject
in interface ByteIterable
reject
in interface ByteStack
<V> MutableStack<V> collect(ByteToObjectFunction<? extends V> function)
collect
in interface ByteIterable
collect
in interface ByteStack
MutableByteStack asUnmodifiable()
MutableByteStack asSynchronized()
Copyright © 2004–2016. All rights reserved.