Enum Iterators.EmptyIterator

java.lang.Object
java.lang.Enum<Iterators.EmptyIterator>
io.atlassian.fugue.Iterators.EmptyIterator
All Implemented Interfaces:
Serializable, Comparable<Iterators.EmptyIterator>, java.lang.constant.Constable, Iterator<Object>
Enclosing class:
Iterators

private static enum Iterators.EmptyIterator extends Enum<Iterators.EmptyIterator> implements Iterator<Object>
Since:
3.0
  • Enum Constant Details

  • Constructor Details

    • EmptyIterator

      private EmptyIterator()
  • Method Details

    • values

      public static Iterators.EmptyIterator[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Iterators.EmptyIterator valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<Object>
    • next

      public Object next()
      Specified by:
      next in interface Iterator<Object>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<Object>