インタフェース NumberGettable<T extends java.lang.Number>

型パラメータ:
T - Type
すべてのスーパーインタフェース:
Gettable<T>
既知のサブインタフェースのリスト:
DoubleCompution, DoubleProperty, FloatCompution, FloatProperty, IntegerCompution, IntegerProperty, LongCompution, LongProperty, NumberCompution, NumberProperty<T>

public interface NumberGettable<T extends java.lang.Number>
extends Gettable<T>
Number value Getter.
関連項目:
Number, Gettable
  • メソッドの概要

    修飾子とタイプ メソッド 説明
    byte byteValue()
    Returns the value of the specified number as a byte.
    double doubleValue()
    Returns the value of the specified number as a double.
    float floatValue()
    Returns the value of the specified number as a float.
    int intValue()
    Returns the value of the specified number as a int.
    long longValue()
    Returns the value of the specified number as a long.
    short shortValue()
    Returns the value of the specified number as a short.
  • メソッドの詳細

    • byteValue

      byte byteValue()
      Returns the value of the specified number as a byte.

      This implementation returns Number#byteValue().

      戻り値:
      the numeric value represented by this object after conversion to type byte.
      関連項目:
      Number.byteValue()
    • shortValue

      short shortValue()
      Returns the value of the specified number as a short.

      This implementation returns Number#shortValue().

      戻り値:
      the numeric value represented by this object after conversion to type short.
      関連項目:
      Number.shortValue()
    • intValue

      int intValue()
      Returns the value of the specified number as a int.

      This implementation returns Number#intValue().

      戻り値:
      the numeric value represented by this object after conversion to type int.
      関連項目:
      Number.intValue()
    • longValue

      long longValue()
      Returns the value of the specified number as a long.

      This implementation returns Number#longValue().

      戻り値:
      the numeric value represented by this object after conversion to type long.
      関連項目:
      Number.longValue()
    • floatValue

      float floatValue()
      Returns the value of the specified number as a float.

      This implementation returns Number#floatValue().

      戻り値:
      the numeric value represented by this object after conversion to type float.
      関連項目:
      Number.floatValue()
    • doubleValue

      double doubleValue()
      Returns the value of the specified number as a double.

      This implementation returns Number#doubleValue().

      戻り値:
      the numeric value represented by this object after conversion to type double.
      関連項目:
      Number.doubleValue()