|
org.openide.util.enumerations 6.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openide.util.enum.QueueEnumeration
Enumerations.
public class QueueEnumeration
Enumeration that represents a queue. It allows by redefining
method process each outputed object to add other to the end of
queue of waiting objects by a call to put.
| Constructor Summary | |
|---|---|
QueueEnumeration()
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Deprecated. Is there any next object? |
Object |
nextElement()
Deprecated. |
protected void |
process(Object o)
Deprecated. Processes object before it is returned from nextElement method. |
void |
put(Object o)
Deprecated. Put adds new object to the end of queue. |
void |
put(Object[] arr)
Deprecated. Adds array of objects into the queue. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueueEnumeration()
| Method Detail |
|---|
protected void process(Object o)
put method. This implementation does
nothing.
o - the object to be processedput(java.lang.Object)public void put(Object o)
o - the object to addpublic void put(Object[] arr)
arr - array of objects to put into the queuepublic boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationNoSuchElementException - if there is no next object
|
org.openide.util.enumerations 6.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||