E - the type of the values storedpublic class FibonacciQueue<E> extends AbstractQueue<E>
| Modifier and Type | Method and Description |
|---|---|
Comparator<? super E> |
comparator() |
static <C extends Comparable> |
create() |
static <C> FibonacciQueue<C> |
create(Comparator<? super C> comparator) |
Iterator<E> |
iterator() |
boolean |
offer(E e) |
E |
peek() |
E |
poll() |
int |
size() |
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontains, containsAll, equals, hashCode, isEmpty, parallelStream, remove, removeAll, removeIf, retainAll, spliterator, stream, toArray, toArraypublic static <C> FibonacciQueue<C> create(Comparator<? super C> comparator)
public static <C extends Comparable> FibonacciQueue<C> create()
public Comparator<? super E> comparator()
public E peek()
public boolean offer(E e)
public E poll()
public int size()
size in interface Collection<E>size in class AbstractCollection<E>Copyright © 2017 Grakn Labs Ltd. All rights reserved.