Enum Class Json.JsonStringBuilder.Step

java.lang.Object
java.lang.Enum<Json.JsonStringBuilder.Step>
com.github.underscore.Json.JsonStringBuilder.Step
All Implemented Interfaces:
Serializable, Comparable<Json.JsonStringBuilder.Step>, Constable
Enclosing class:
Json.JsonStringBuilder

public static enum Json.JsonStringBuilder.Step extends Enum<Json.JsonStringBuilder.Step>
  • Enum Constant Details

  • Field Details

    • indent

      private final int indent
  • Constructor Details

    • Step

      private Step(int indent)
  • Method Details

    • values

      public static Json.JsonStringBuilder.Step[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Json.JsonStringBuilder.Step valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndent

      public int getIndent()