Class ConstantResolver.UnknownConstant

java.lang.Object
jnr.constants.platform.ConstantResolver.UnknownConstant
All Implemented Interfaces:
Constant
Enclosing class:
ConstantResolver<E extends Enum<E>>

private static final class ConstantResolver.UnknownConstant extends Object implements Constant
  • Field Details

    • value

      private final long value
    • name

      private final String name
  • Constructor Details

    • UnknownConstant

      UnknownConstant(long value, String name)
  • Method Details

    • value

      public int value()
    • intValue

      public final int intValue()
      Specified by:
      intValue in interface Constant
    • longValue

      public final long longValue()
      Specified by:
      longValue in interface Constant
    • name

      public final String name()
      Specified by:
      name in interface Constant
    • defined

      public final boolean defined()
      Specified by:
      defined in interface Constant
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • checkFake

      private void checkFake()