java.lang.Iterable<ShortCursor>, ShortCollection, ShortContainerShortArrayDeque@Generated(date="2018-05-21T12:24:05+0200", value="KTypeDeque.java") public interface ShortDeque extends ShortCollection
Deque| Modifier and Type | Method | Description |
|---|---|---|
void |
addFirst(short e) |
Inserts the specified element at the front of this deque.
|
void |
addLast(short e) |
Inserts the specified element at the end of this deque.
|
<T extends ShortProcedure> |
descendingForEach(T procedure) |
Applies a
procedure to all elements in tail-to-head order. |
java.util.Iterator<ShortCursor> |
descendingIterator() |
|
short |
getFirst() |
Retrieves the first element of this deque but does not remove it.
|
short |
getLast() |
Retrieves the last element of this deque but does not remove it.
|
short |
removeFirst() |
Retrieves and removes the first element of this deque.
|
int |
removeFirst(short e) |
Removes the first element that equals
e. |
short |
removeLast() |
Retrieves and removes the last element of this deque.
|
int |
removeLast(short e) |
Removes the last element that equals
e. |
int removeFirst(short e)
e.-1 if the element
was not found.int removeLast(short e)
e.-1 if the element
was not found.void addFirst(short e)
void addLast(short e)
short removeFirst()
short removeLast()
short getFirst()
short getLast()
java.util.Iterator<ShortCursor> descendingIterator()
<T extends ShortProcedure> T descendingForEach(T procedure)
procedure to all elements in tail-to-head order.<T extends ShortPredicate> T descendingForEach(T predicate)
predicate to container elements as long, as the
predicate returns true. The iteration is interrupted
otherwise.Copyright © 2018 Carrot Search s.c.. All Rights Reserved.