org.apache.log4j.helpers
Class NullEnumeration

java.lang.Object
  extended by org.apache.log4j.helpers.NullEnumeration
All Implemented Interfaces:
Enumeration

public final class NullEnumeration
extends Object
implements Enumeration

An always-empty Enumerator.

Since:
version 1.0

Method Summary
static NullEnumeration getInstance()
           
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static NullEnumeration getInstance()

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration


Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.