CharCollection, CharContainer, java.lang.Iterable<CharCursor>CharArrayDeque@Generated(date="2018-05-21T12:24:05+0200", value="KTypeDeque.java") public interface CharDeque extends CharCollection
Deque| Modifier and Type | Method | Description |
|---|---|---|
void |
addFirst(char e) |
Inserts the specified element at the front of this deque.
|
void |
addLast(char e) |
Inserts the specified element at the end of this deque.
|
<T extends CharProcedure> |
descendingForEach(T procedure) |
Applies a
procedure to all elements in tail-to-head order. |
java.util.Iterator<CharCursor> |
descendingIterator() |
|
char |
getFirst() |
Retrieves the first element of this deque but does not remove it.
|
char |
getLast() |
Retrieves the last element of this deque but does not remove it.
|
char |
removeFirst() |
Retrieves and removes the first element of this deque.
|
int |
removeFirst(char e) |
Removes the first element that equals
e. |
char |
removeLast() |
Retrieves and removes the last element of this deque.
|
int |
removeLast(char e) |
Removes the last element that equals
e. |
clear, release, removeAll, removeAll, removeAll, retainAll, retainAllint removeFirst(char e)
e.-1 if the element
was not found.int removeLast(char e)
e.-1 if the element
was not found.void addFirst(char e)
void addLast(char e)
char removeFirst()
char removeLast()
char getFirst()
char getLast()
java.util.Iterator<CharCursor> descendingIterator()
<T extends CharProcedure> T descendingForEach(T procedure)
procedure to all elements in tail-to-head order.<T extends CharPredicate> 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.