|
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.AlterEnumeration
Enumerations.
public abstract class AlterEnumeration
Abstract class that takes an enumeration and alter their elements
to new objects.
To get this class fully work one must override alter method.
Objects in the input and resulting enumeration must not be null.
| Constructor Summary | |
|---|---|
AlterEnumeration(Enumeration en)
Deprecated. |
|
| Method Summary | |
|---|---|
protected abstract Object |
alter(Object o)
Deprecated. Alters objects. |
boolean |
hasMoreElements()
Deprecated. |
Object |
nextElement()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlterEnumeration(Enumeration en)
en - enumeration to filter| Method Detail |
|---|
protected abstract Object alter(Object o)
o - the object to decide on
public boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationNoSuchElementException - can be thrown if there is no next object
in the enumeration
|
org.openide.util.enumerations 6.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||