public class TLcdConcatEnumeration extends Object implements ILcdAutoCloseableEnumeration
Enumeration
objects to a
single Enumeration
.Constructor and Description |
---|
TLcdConcatEnumeration(Enumeration aEnumeration1,
Enumeration aEnumeration2)
Constructs a new
Enumeration that subsequently enumerates the two
given Enumerations. |
Modifier and Type | Method and Description |
---|---|
void |
close()
This close method does not throw checked exceptions.
|
boolean |
hasMoreElements()
Implements
Enumeration.hasMoreElements() . |
Object |
nextElement()
Implements
Enumeration.nextElement() . |
public TLcdConcatEnumeration(Enumeration aEnumeration1, Enumeration aEnumeration2)
Enumeration
that subsequently enumerates the two
given Enumerations.aEnumeration1
- the Enumeration
that will be returned first.aEnumeration2
- the Enumeration
that will be returned second.public boolean hasMoreElements()
Enumeration.hasMoreElements()
.hasMoreElements
in interface Enumeration
public Object nextElement()
Enumeration.nextElement()
.nextElement
in interface Enumeration
public void close()
ILcdAutoCloseableEnumeration
close
in interface ILcdAutoCloseableEnumeration
close
in interface AutoCloseable