JAPI 0.9.0
Yet another Java API
API Documentation

net.sf.japi.util
Class EmptyEnumeration<E>

java.lang.Object
  extended by net.sf.japi.util.EmptyEnumeration<E>
All Implemented Interfaces:
Enumeration<E>

public class EmptyEnumeration<E>
extends Object
implements Enumeration<E>

Empty Enumeration.

Author:
Christian Hujer

Constructor Summary
EmptyEnumeration()
          Create a new EmptyEnumeration.
 
Method Summary
 boolean hasMoreElements()
          Tests if this enumeration contains more elements.
 E nextElement()
          Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyEnumeration

public EmptyEnumeration()
Create a new EmptyEnumeration.

Method Detail

hasMoreElements

public boolean hasMoreElements()
Tests if this enumeration contains more elements.

Specified by:
hasMoreElements in interface Enumeration<E>
Returns:
true if and only if this enumeration object contains at least one more element to provide; false otherwise.

nextElement

public E nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.

Specified by:
nextElement in interface Enumeration<E>
Returns:
the next element of this enumeration.

JAPI
Yet another Java API
API Documentation

© 2005-2006 Christian Hujer. All rights reserved. See copyright