@Generated(date="2015-05-07T09:33:04+0200",
value="KTypeDeque.java")
public interface DoubleDeque
extends DoubleCollection
Deque| Modifier and Type | Method and Description |
|---|---|
void |
addFirst(double e)
Inserts the specified element at the front of this deque.
|
void |
addLast(double e)
Inserts the specified element at the end of this deque.
|
<T extends DoublePredicate> |
descendingForEach(T predicate)
Applies a
predicate to container elements as long, as the
predicate returns true. |
<T extends DoubleProcedure> |
descendingForEach(T procedure)
Applies a
procedure to all elements in tail-to-head order. |
java.util.Iterator<DoubleCursor> |
descendingIterator() |
double |
getFirst()
Retrieves the first element of this deque but does not remove it.
|
double |
getLast()
Retrieves the last element of this deque but does not remove it.
|
double |
removeFirst()
Retrieves and removes the first element of this deque.
|
int |
removeFirst(double e)
Removes the first element that equals
e. |
double |
removeLast()
Retrieves and removes the last element of this deque.
|
int |
removeLast(double e)
Removes the last element that equals
e. |
clear, release, removeAll, removeAll, removeAll, retainAll, retainAllint removeFirst(double e)
e.-1 if the element
was not found.int removeLast(double e)
e.-1 if the element
was not found.void addFirst(double e)
void addLast(double e)
double removeFirst()
double removeLast()
double getFirst()
double getLast()
java.util.Iterator<DoubleCursor> descendingIterator()
<T extends DoubleProcedure> T descendingForEach(T procedure)
procedure to all elements in tail-to-head order.<T extends DoublePredicate> 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.