クラス JSONNumber


@NullMarked public final class JSONNumber extends JSONPrimitive<Number>
  • メソッドの詳細

    • getType

      public JSONValueType<?> getType()
      クラスからコピーされた説明: JSONValue
      値の型を取得します。
      定義:
      getType クラス内 JSONValue<Number>
      戻り値:
      この値の型を表現するオブジェクト。
    • byteValue

      public byte byteValue()
    • shortValue

      public short shortValue()
    • intValue

      public int intValue()
    • longValue

      public long longValue()
    • floatValue

      public float floatValue()
    • doubleValue

      public double doubleValue()
    • valueOf

      public static JSONNumber valueOf(Number value)