Top Fields Constructors Methods
io.undertow.servlet.util

public Class EmptyEnumeration

extends Object
implements Enumeration<Object>
Class Inheritance
All Implemented Interfaces
java.util.Enumeration
Imports
java.util.Enumeration

Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private static final Enumeration<?>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.

public static <T> Enumeration<T>
public Object
nextElement()

Implements java.util.Enumeration.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

INSTANCEback to summary
private static final Enumeration<?> INSTANCE

Constructor Detail

EmptyEnumerationback to summary
private EmptyEnumeration()

Method Detail

hasMoreElementsback to summary
public boolean hasMoreElements()

Implements java.util.Enumeration.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.

Annotations
@Override
instanceback to summary
public static <T> Enumeration<T> instance()
Annotations
@SuppressWarnings:unchecked
nextElementback to summary
public Object nextElement()

Implements java.util.Enumeration.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.

Annotations
@Override