@Generated(date="2015-05-05T11:00:03+0200", value="KTypeDeque.java") public interface ByteDeque extends ByteCollection
Deque
Modifier and Type | Method and Description |
---|---|
void |
addFirst(byte e)
Inserts the specified element at the front of this deque.
|
void |
addLast(byte e)
Inserts the specified element at the end of this deque.
|
<T extends BytePredicate> |
descendingForEach(T predicate)
Applies a
predicate to container elements as long, as the
predicate returns true . |
<T extends ByteProcedure> |
descendingForEach(T procedure)
Applies a
procedure to all elements in tail-to-head order. |
java.util.Iterator<ByteCursor> |
descendingIterator() |
byte |
getFirst()
Retrieves the first element of this deque but does not remove it.
|
byte |
getLast()
Retrieves the last element of this deque but does not remove it.
|
byte |
removeFirst()
Retrieves and removes the first element of this deque.
|
int |
removeFirst(byte e)
Removes the first element that equals
e . |
byte |
removeLast()
Retrieves and removes the last element of this deque.
|
int |
removeLast(byte e)
Removes the last element that equals
e . |
clear, release, removeAll, removeAll, removeAll, retainAll, retainAll
int removeFirst(byte e)
e
.-1
if the element
was not found.int removeLast(byte e)
e
.-1
if the element
was not found.void addFirst(byte e)
void addLast(byte e)
byte removeFirst()
byte removeLast()
byte getFirst()
byte getLast()
java.util.Iterator<ByteCursor> descendingIterator()
<T extends ByteProcedure> T descendingForEach(T procedure)
procedure
to all elements in tail-to-head order.<T extends BytePredicate> T descendingForEach(T predicate)
predicate
to container elements as long, as the
predicate returns true
. The iteration is interrupted
otherwise.Copyright © 2015 Carrot Search s.c.. All Rights Reserved.