Top Fields Constructors Methods
com.mchange.util.impl

public Class EmptyMEnumeration

extends Object
implements MEnumeration
Class Inheritance
All Implemented Interfaces
com.mchange.util.MEnumeration, java.util.Enumeration, com.mchange.io.IOEnumeration
Imports
java.util.*, com.mchange.util.*

Field Summary

Modifier and TypeField and Description
public static MEnumeration

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
hasMoreElements()

Implements com.mchange.util.MEnumeration.hasMoreElements.

Tests if this enumeration contains more elements.

public Object
nextElement()

Implements com.mchange.util.MEnumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

SINGLETONback to summary
public static MEnumeration SINGLETON

Constructor Detail

EmptyMEnumerationback to summary
private EmptyMEnumeration()

Method Detail

hasMoreElementsback to summary
public boolean hasMoreElements()

Implements com.mchange.util.MEnumeration.hasMoreElements.

Doc from java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.

Returns:boolean

true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElementback to summary
public Object nextElement()

Implements com.mchange.util.MEnumeration.nextElement.

Doc from java.util.Enumeration.nextElement.

Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Returns:Object

the next element of this enumeration.