FileDocCategorySizeDatePackage
NullEnumeration.javaAPI DocApache log4j 1.2.151394Sat Aug 25 00:09:40 BST 2007org.apache.log4j.helpers

NullEnumeration

public class NullEnumeration extends Object implements Enumeration
An always-empty Enumerator.
author
Anders Kristensen
since
version 1.0

Fields Summary
private static final NullEnumeration
instance
Constructors Summary
private NullEnumeration()

  
  
   
  
Methods Summary
public static org.apache.log4j.helpers.NullEnumerationgetInstance()

    return instance;
  
public booleanhasMoreElements()

    return false;
  
public java.lang.ObjectnextElement()

    throw new NoSuchElementException();