Enum Iterables.State

java.lang.Object
java.lang.Enum<Iterables.State>
org.codehaus.commons.compiler.util.iterator.Iterables.State
All Implemented Interfaces:
Serializable, Comparable<Iterables.State>, java.lang.constant.Constable
Enclosing class:
Iterables

private static enum Iterables.State extends Enum<Iterables.State>
  • Enum Constant Details

    • DEFAULT

      public static final Iterables.State DEFAULT
      No element has been read ahead.
    • READ_AHEAD

      public static final Iterables.State READ_AHEAD
      The next element has been read ahead.
    • AT_END

      public static final Iterables.State AT_END
      The delegate Iterator is at its end.
  • Constructor Details

    • State

      private State()
  • Method Details

    • values

      public static Iterables.State[] 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 Iterables.State 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