Package com.luciad.util.enumeration
Class TLcdEmptyEnumeration
java.lang.Object
com.luciad.util.enumeration.TLcdEmptyEnumeration
- All Implemented Interfaces:
ILcdAutoCloseableEnumeration
,AutoCloseable
,Enumeration
An
Enumeration
that contains no elements.-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This method performs no operation because this enumeration is empty.static TLcdEmptyEnumeration
Gets a shared instance ofTLcdEmptyEnumeration
.boolean
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
-
Method Details
-
getInstance
Gets a shared instance ofTLcdEmptyEnumeration
.- Returns:
- a shared instance of
TLcdEmptyEnumeration
.
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration
- Returns:
false
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration
- Returns:
null
-
close
public void close()This method performs no operation because this enumeration is empty.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceILcdAutoCloseableEnumeration
-