APIdia Launch Partner
Top Fields Constructors Methods
java.lang

pack-priv final Class CompoundEnumeration<E>

Located in compilation unit of java.lang.ClassLoader.

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

Field Summary

Modifier and TypeField and Description
private final Enumeration<E>[]
private int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
hasMoreElements()

Implements java.util.Enumeration.hasMoreElements.

Tests if this enumeration contains more elements.

private boolean
next()

public E
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

enumsback to summary
private final Enumeration<E>[] enums
indexback to summary
private int index

Constructor Detail

CompoundEnumerationback to summary
public CompoundEnumeration(Enumeration<E>[] enums)

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.

nextback to summary
private boolean next()
nextElementback to summary
public E 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.