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 TypeMethodDescriptionvoidclose()This method performs no operation because this enumeration is empty.static TLcdEmptyEnumerationGets a shared instance ofTLcdEmptyEnumeration.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
hasMoreElementsin interfaceEnumeration- Returns:
false
-
nextElement
- Specified by:
nextElementin interfaceEnumeration- Returns:
null
-
close
public void close()This method performs no operation because this enumeration is empty.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceILcdAutoCloseableEnumeration
-