|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tigris.gef.util.EnumerationComposite
public class EnumerationComposite
This class concatenates Enumerations. Successive calls to nextElement return elements from each Enumeration until that enumeration is exhausted.
| Constructor Summary | |
|---|---|
EnumerationComposite()
|
|
EnumerationComposite(java.util.Enumeration e1)
|
|
EnumerationComposite(java.util.Enumeration e1,
java.util.Enumeration e2)
|
|
EnumerationComposite(java.util.Enumeration e1,
java.util.Enumeration e2,
java.util.Enumeration e3)
|
|
| Method Summary | |
|---|---|
void |
addSub(java.util.Enumeration e)
Concatenate the given Enumeration to the end of the receiving EnumerationComposite. |
void |
addSub(java.util.Vector v)
Concatenate the elements() of the given Vector to the end of the receiving EnumerationComposite. |
protected void |
findNext()
Internal function to find the element to return on the next call to nextElement(). |
boolean |
hasMoreElements()
Reply true iff this EnumerationComposite has more elements. |
java.lang.Object |
nextElement()
Reply the next element, or raise an execption if there is none. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationComposite()
public EnumerationComposite(java.util.Enumeration e1)
public EnumerationComposite(java.util.Enumeration e1,
java.util.Enumeration e2)
public EnumerationComposite(java.util.Enumeration e1,
java.util.Enumeration e2,
java.util.Enumeration e3)
| Method Detail |
|---|
public void addSub(java.util.Enumeration e)
public void addSub(java.util.Vector v)
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumerationprotected void findNext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||