Enum Class NumberFormatter.Base

java.lang.Object
java.lang.Enum<NumberFormatter.Base>
com.pnfsoftware.jeb.util.format.NumberFormatter.Base
All Implemented Interfaces:
Serializable, Comparable<NumberFormatter.Base>, Constable
Enclosing class:
NumberFormatter

public static enum NumberFormatter.Base extends Enum<NumberFormatter.Base>
Rendering base.
  • Enum Constant Details

  • Method Details

    • values

      public static NumberFormatter.Base[] 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 NumberFormatter.Base 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
    • isStandard

      public boolean isStandard()
      Returns:
      true for a "standard" base, that is: 10, 16 and 8
    • nextBase

      public NumberFormatter.Base nextBase()