Package com.luciad.util.enumeration
Class TLcdConcatEnumeration
java.lang.Object
com.luciad.util.enumeration.TLcdConcatEnumeration
- All Implemented Interfaces:
ILcdAutoCloseableEnumeration
,AutoCloseable
,Enumeration
This class concatenates two
Enumeration
objects to a
single Enumeration
.-
Constructor Summary
ConstructorDescriptionTLcdConcatEnumeration
(Enumeration aEnumeration1, Enumeration aEnumeration2) Constructs a newEnumeration
that subsequently enumerates the two given Enumerations. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This close method does not throw checked exceptions.boolean
ImplementsEnumeration.hasMoreElements()
.ImplementsEnumeration.nextElement()
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
-
Constructor Details
-
TLcdConcatEnumeration
Constructs a newEnumeration
that subsequently enumerates the two given Enumerations.- Parameters:
aEnumeration1
- theEnumeration
that will be returned first.aEnumeration2
- theEnumeration
that will be returned second.
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()ImplementsEnumeration.hasMoreElements()
.- Specified by:
hasMoreElements
in interfaceEnumeration
-
nextElement
ImplementsEnumeration.nextElement()
.- Specified by:
nextElement
in interfaceEnumeration
-
close
public void close()Description copied from interface:ILcdAutoCloseableEnumeration
This close method does not throw checked exceptions.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceILcdAutoCloseableEnumeration
-