public class ArrayIdQueue<E>
extends org.eclipse.jetty.util.ArrayQueue<E>
_elements, _growCapacity, _lock, _nextE, _nextSlot, _size, DEFAULT_CAPACITY, DEFAULT_GROWTHmodCount| Constructor and Description |
|---|
ArrayIdQueue() |
ArrayIdQueue(int capacity) |
ArrayIdQueue(int initCapacity,
int growBy) |
ArrayIdQueue(int initCapacity,
int growBy,
Object lock) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(E e) |
void |
add(int index,
E element) |
void |
addUnsafe(E e) |
int |
getAssociatedId(int index) |
int |
getAssociatedIdUnsafe(int index) |
int |
getCurrentId() |
protected boolean |
grow() |
void |
incrementCurrentId() |
boolean |
offer(E e) |
E |
remove(int index) |
E |
set(int index,
E element) |
void |
setCurrentId(int currentId) |
clear, element, get, getCapacity, getUnsafe, isEmpty, peek, poll, remove, sizeaddAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListaddAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic ArrayIdQueue()
public ArrayIdQueue(int capacity)
public ArrayIdQueue(int initCapacity,
int growBy)
public ArrayIdQueue(int initCapacity,
int growBy,
Object lock)
public int getCurrentId()
public void setCurrentId(int currentId)
public void incrementCurrentId()
public boolean add(E e)
public void addUnsafe(E e)
addUnsafe in class org.eclipse.jetty.util.ArrayQueue<E>public boolean offer(E e)
public int getAssociatedId(int index)
public int getAssociatedIdUnsafe(int index)
public E remove(int index)
public void add(int index,
E element)
protected boolean grow()
grow in class org.eclipse.jetty.util.ArrayQueue<E>Copyright © 2008–2014 Dojo Foundation. All rights reserved.