NullEnumeration (SLF4J 1.7.28 API)
Date: 2019-08-10

org.apache.log4j.helpers

## Class NullEnumeration

- java.lang.Object
- - org.apache.log4j.helpers.NullEnumeration

- All Implemented Interfaces:
    Enumeration

      public class NullEnumeration
      extends Object
      implements Enumeration

  An always-empty Enumerator.
  Since:
    version 1.0
  Author:
    Anders Kristensen

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `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 © 2005–2019 QOS.ch. All rights reserved.