|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.internal.utils.Queue
public class Queue
A Queue of objects.
Constructor Summary | |
---|---|
Queue()
|
|
Queue(int size,
boolean reuse)
The parameter reuse indicates what do you want to happen with the object reference when you remove it from the queue. |
Method Summary | |
---|---|
void |
add(java.lang.Object element)
|
int |
decrement(int index)
This method does not affect the queue itself. |
java.lang.Object |
elementAt(int index)
|
java.lang.Object |
getNextAvailableObject()
Returns an object that has been removed from the queue, if any. |
int |
increment(int index)
This method does not affect the queue itself. |
int |
indexOf(java.lang.Object target)
|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
|
java.lang.Object |
peek()
|
java.lang.Object |
peekTail()
|
java.lang.Object |
remove()
|
java.lang.Object |
removeTail()
|
void |
reset()
|
int |
size()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Queue()
public Queue(int size, boolean reuse)
Method Detail |
---|
public void add(java.lang.Object element)
public int decrement(int index)
public java.lang.Object elementAt(int index)
public java.util.Iterator iterator()
public java.lang.Object getNextAvailableObject()
public int increment(int index)
public int indexOf(java.lang.Object target)
public boolean isEmpty()
public java.lang.Object peek()
public java.lang.Object peekTail()
public java.lang.Object remove()
public java.lang.Object removeTail()
public void reset()
public int size()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |