aicas logo Jamaica 3.4 release 8

sun.util
Class ResourceBundleEnumeration

java.lang.Object
  extended by sun.util.ResourceBundleEnumeration
All Implemented Interfaces:
Enumeration<String>

public class ResourceBundleEnumeration
extends Object
implements Enumeration<String>

Implements an Enumeration that combines elements from a Set and an Enumeration. Used by ListResourceBundle and PropertyResourceBundle.


Constructor Summary
ResourceBundleEnumeration(Set<String> set, Enumeration<String> enumeration)
          Constructs a resource bundle enumeration.
 
Method Summary
 boolean hasMoreElements()
          Tests whether there are elements remaining in the enumeration.
 String nextElement()
          Obtain the next element in the enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceBundleEnumeration

public ResourceBundleEnumeration(Set<String> set,
                                 Enumeration<String> enumeration)
Constructs a resource bundle enumeration.

Parameters:
set - an set providing some elements of the enumeration
enumeration - an enumeration providing more elements of the enumeration. enumeration may be null.
Method Detail

hasMoreElements

public boolean hasMoreElements()
Description copied from interface: Enumeration
Tests whether there are elements remaining in the enumeration.

Specified by:
hasMoreElements in interface Enumeration<String>
Returns:
true if there is at least one more element in the enumeration, that is, if the next call to nextElement will not throw a NoSuchElementException.

nextElement

public String nextElement()
Description copied from interface: Enumeration
Obtain the next element in the enumeration.

Specified by:
nextElement in interface Enumeration<String>
Returns:
the next element in the enumeration

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.