|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.abstracthorizon.extend.server.deployment.support.ModuleClassLoader.Enumerations<T>
protected class ModuleClassLoader.Enumerations<T>
Class that implements enumeration interface and enumerates through all enumeration passed to it
Field Summary | |
---|---|
protected Enumeration<T> |
currentEnumeration
Current enumeration (as obtained through iterator) |
protected List<Enumeration<T>> |
enumerations
List of enumerations |
protected Iterator<Enumeration<T>> |
iterator
Current iterator through enumerations list |
Constructor Summary | |
---|---|
ModuleClassLoader.Enumerations()
Constructor |
Method Summary | |
---|---|
void |
addEnumeration(Enumeration<T> enumeration)
Adds new enumeration to the object |
boolean |
hasMoreElements()
Returns true if more elements are available |
T |
nextElement()
Returns next element as would current enumeration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List<Enumeration<T>> enumerations
protected Iterator<Enumeration<T>> iterator
protected Enumeration<T> currentEnumeration
Constructor Detail |
---|
public ModuleClassLoader.Enumerations()
Method Detail |
---|
public void addEnumeration(Enumeration<T> enumeration)
enumeration
- enumeration to be addedpublic boolean hasMoreElements()
true
if more elements are available
hasMoreElements
in interface Enumeration<T>
true
if more elements are availablepublic T nextElement()
nextElement
in interface Enumeration<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |