|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ActionQueue>
ch.sahits.codegen.ActionQueue
public enum ActionQueue
This is a Singleton Queue of QueuedActionElement
| Enum Constant Summary | |
|---|---|
INSTANCE
Singleton instance of the queue |
|
| Method Summary | ||
|---|---|---|
void |
add(int index,
QueuedActionElement element)
|
|
boolean |
add(QueuedActionElement e)
|
|
boolean |
addAll(java.util.Collection<? extends QueuedActionElement> c)
|
|
boolean |
addAll(int index,
java.util.Collection<? extends QueuedActionElement> c)
|
|
void |
addFirst(QueuedActionElement e)
|
|
void |
addLast(QueuedActionElement e)
|
|
void |
clear()
|
|
boolean |
contains(java.lang.Object o)
|
|
boolean |
containsAll(java.util.Collection<?> c)
|
|
java.util.Iterator<QueuedActionElement> |
descendingIterator()
|
|
QueuedActionElement |
element()
|
|
QueuedActionElement |
get(int index)
|
|
QueuedActionElement |
getFirst()
|
|
QueuedActionElement |
getLast()
|
|
java.util.List<QueuedActionElement> |
getQueuedElements(java.lang.String className)
Retrieve a list of elements that can be processed by the specified class |
|
int |
indexOf(java.lang.Object o)
|
|
boolean |
isEmpty()
|
|
boolean |
isQueueProcessed()
Check whether the queue is processed. |
|
java.util.Iterator<QueuedActionElement> |
iterator()
|
|
int |
lastIndexOf(java.lang.Object o)
|
|
java.util.ListIterator<QueuedActionElement> |
listIterator()
|
|
java.util.ListIterator<QueuedActionElement> |
listIterator(int index)
|
|
boolean |
offer(QueuedActionElement e)
|
|
boolean |
offerFirst(QueuedActionElement e)
|
|
boolean |
offerLast(QueuedActionElement e)
|
|
QueuedActionElement |
peek()
|
|
QueuedActionElement |
peekFirst()
|
|
QueuedActionElement |
peekLast()
|
|
QueuedActionElement |
poll()
|
|
QueuedActionElement |
pollFirst()
|
|
QueuedActionElement |
pollLast()
|
|
QueuedActionElement |
pop()
|
|
void |
push(QueuedActionElement e)
|
|
QueuedActionElement |
remove()
|
|
QueuedActionElement |
remove(int index)
|
|
boolean |
remove(java.lang.Object o)
|
|
boolean |
removeAll(java.util.Collection<?> c)
|
|
QueuedActionElement |
removeFirst()
|
|
boolean |
removeFirstOccurrence(java.lang.Object o)
|
|
QueuedActionElement |
removeLast()
|
|
boolean |
removeLastOccurrence(java.lang.Object o)
|
|
boolean |
retainAll(java.util.Collection<?> c)
|
|
QueuedActionElement |
set(int index,
QueuedActionElement element)
|
|
int |
size()
|
|
java.util.List<QueuedActionElement> |
subList(int fromIndex,
int toIndex)
|
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
java.lang.String |
toString()
|
|
static ActionQueue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
|
static ActionQueue[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
equals, hashCode |
| Enum Constant Detail |
|---|
public static final ActionQueue INSTANCE
| Method Detail |
|---|
public static ActionQueue[] values()
for (ActionQueue c : ActionQueue.values()) System.out.println(c);
public static ActionQueue valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.util.List<QueuedActionElement> getQueuedElements(java.lang.String className)
className - name of the class that does the processing
public boolean isQueueProcessed()
public void add(int index,
QueuedActionElement element)
add in interface java.util.List<QueuedActionElement>index - element - LinkedList.add(int, java.lang.Object)public boolean add(QueuedActionElement e)
add in interface java.util.Collection<QueuedActionElement>add in interface java.util.List<QueuedActionElement>add in interface java.util.Queue<QueuedActionElement>e - Element to add
LinkedList.add(java.lang.Object)public boolean addAll(java.util.Collection<? extends QueuedActionElement> c)
addAll in interface java.util.Collection<QueuedActionElement>addAll in interface java.util.List<QueuedActionElement>c - Collection to Add
LinkedList.addAll(java.util.Collection)
public boolean addAll(int index,
java.util.Collection<? extends QueuedActionElement> c)
addAll in interface java.util.List<QueuedActionElement>index - where to insert the collectionc - Collection to Add
LinkedList.addAll(int, java.util.Collection)public void addFirst(QueuedActionElement e)
e - LinkedList.addFirst(java.lang.Object)public void addLast(QueuedActionElement e)
e - LinkedList.addLast(java.lang.Object)public void clear()
clear in interface java.util.Collection<QueuedActionElement>clear in interface java.util.List<QueuedActionElement>LinkedList.clear()public boolean contains(java.lang.Object o)
contains in interface java.util.Collection<QueuedActionElement>contains in interface java.util.List<QueuedActionElement>o - element whose presence in this list is to be tested
LinkedList.contains(java.lang.Object)public boolean containsAll(java.util.Collection<?> c)
containsAll in interface java.util.Collection<QueuedActionElement>containsAll in interface java.util.List<QueuedActionElement>c - collection to be checked for containment in this collection
AbstractCollection.containsAll(java.util.Collection)public java.util.Iterator<QueuedActionElement> descendingIterator()
LinkedList.descendingIterator()public QueuedActionElement element()
element in interface java.util.Queue<QueuedActionElement>LinkedList.element()public QueuedActionElement get(int index)
get in interface java.util.List<QueuedActionElement>index - index of the element to return
LinkedList.get(int)public QueuedActionElement getFirst()
LinkedList.getFirst()public QueuedActionElement getLast()
LinkedList.getLast()public int indexOf(java.lang.Object o)
indexOf in interface java.util.List<QueuedActionElement>o - element to search for
LinkedList.indexOf(java.lang.Object)public boolean isEmpty()
isEmpty in interface java.util.Collection<QueuedActionElement>isEmpty in interface java.util.List<QueuedActionElement>AbstractCollection.isEmpty()public java.util.Iterator<QueuedActionElement> iterator()
iterator in interface java.lang.Iterable<QueuedActionElement>iterator in interface java.util.Collection<QueuedActionElement>iterator in interface java.util.List<QueuedActionElement>AbstractSequentialList.iterator()public int lastIndexOf(java.lang.Object o)
lastIndexOf in interface java.util.List<QueuedActionElement>o - element to search for
LinkedList.lastIndexOf(java.lang.Object)public java.util.ListIterator<QueuedActionElement> listIterator()
listIterator in interface java.util.List<QueuedActionElement>AbstractList.listIterator()public java.util.ListIterator<QueuedActionElement> listIterator(int index)
listIterator in interface java.util.List<QueuedActionElement>index - index of the first element to be returned from the list-iterator (by a call to next)
LinkedList.listIterator(int)public boolean offer(QueuedActionElement e)
offer in interface java.util.Queue<QueuedActionElement>e - the element to add
Queue.offer(Object))LinkedList.offer(java.lang.Object)public boolean offerFirst(QueuedActionElement e)
e - the element to insert
LinkedList.offerFirst(java.lang.Object)public boolean offerLast(QueuedActionElement e)
e - the element to insert
LinkedList.offerLast(java.lang.Object)public QueuedActionElement peek()
peek in interface java.util.Queue<QueuedActionElement>LinkedList.peek()public QueuedActionElement peekFirst()
LinkedList.peekFirst()public QueuedActionElement peekLast()
LinkedList.peekLast()public QueuedActionElement poll()
poll in interface java.util.Queue<QueuedActionElement>LinkedList.poll()public QueuedActionElement pollFirst()
LinkedList.pollFirst()public QueuedActionElement pollLast()
LinkedList.pollLast()public QueuedActionElement pop()
LinkedList.pop()public void push(QueuedActionElement e)
e - the element to pushLinkedList.push(java.lang.Object)public QueuedActionElement remove()
remove in interface java.util.Queue<QueuedActionElement>LinkedList.remove()public QueuedActionElement remove(int index)
remove in interface java.util.List<QueuedActionElement>index - the index of the element to be removed
LinkedList.remove(int)public boolean remove(java.lang.Object o)
remove in interface java.util.Collection<QueuedActionElement>remove in interface java.util.List<QueuedActionElement>o - element to be removed from this list, if present
LinkedList.remove(java.lang.Object)public boolean removeAll(java.util.Collection<?> c)
removeAll in interface java.util.Collection<QueuedActionElement>removeAll in interface java.util.List<QueuedActionElement>c - collection containing elements to be removed from this collection
AbstractCollection.removeAll(java.util.Collection)public QueuedActionElement removeFirst()
LinkedList.removeFirst()public boolean removeFirstOccurrence(java.lang.Object o)
o - element to be removed from this list, if present
LinkedList.removeFirstOccurrence(java.lang.Object)public QueuedActionElement removeLast()
LinkedList.removeLast()public boolean removeLastOccurrence(java.lang.Object o)
o - element to be removed from this list, if present
LinkedList.removeLastOccurrence(java.lang.Object)public boolean retainAll(java.util.Collection<?> c)
retainAll in interface java.util.Collection<QueuedActionElement>retainAll in interface java.util.List<QueuedActionElement>c - collection containing elements to be retained in this collection
AbstractCollection.retainAll(java.util.Collection)
public QueuedActionElement set(int index,
QueuedActionElement element)
set in interface java.util.List<QueuedActionElement>index - index of the element to replaceelement - element to be stored at the specified position
LinkedList.set(int, java.lang.Object)public int size()
size in interface java.util.Collection<QueuedActionElement>size in interface java.util.List<QueuedActionElement>LinkedList.size()
public java.util.List<QueuedActionElement> subList(int fromIndex,
int toIndex)
subList in interface java.util.List<QueuedActionElement>fromIndex - low endpoint (inclusive) of the subListtoIndex - high endpoint (exclusive) of the subList
AbstractList.subList(int, int)public java.lang.Object[] toArray()
toArray in interface java.util.Collection<QueuedActionElement>toArray in interface java.util.List<QueuedActionElement>LinkedList.toArray()public <T> T[] toArray(T[] a)
toArray in interface java.util.Collection<QueuedActionElement>toArray in interface java.util.List<QueuedActionElement>T - a - the array into which the elements of the list are to be stored, if it is big enough; otherwise, a new array of the same runtime type is allocated for this purpose.
java.util.LinkedList#toArray(T[])public java.lang.String toString()
toString in class java.lang.Enum<ActionQueue>AbstractCollection.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||