|
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.SingletonEnumeration
Enumerations.
public class SingletonEnumeration
The class that encapsulates one object into one element enumeration.
| Constructor Summary | |
|---|---|
SingletonEnumeration(Object object)
Deprecated. |
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Deprecated. Tests if this enumeration contains next element. |
Object |
nextElement()
Deprecated. Returns the next element of this enumeration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingletonEnumeration(Object object)
object - object to be put into the enumeration| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface Enumerationtrue if this enumeration contains it
false otherwise.public Object nextElement()
nextElement in interface EnumerationNoSuchElementException - if no more elements exist.
|
org.openide.util.enumerations 6.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||