Interface Numeric

All Known Subinterfaces:
IntWrapper, LongWrapper
All Known Implementing Classes:
IntWrapper.AtomicIntWrapper, IntWrapper.PrimitiveIntWrapper, LongWrapper.AtomicLongWrapper, LongWrapper.PrimitiveLongWrapper

public interface Numeric
Interface analog of Number.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte
    Returns the value as byte.
    double
    Returns the value as double.
    float
    Returns the value as float.
    int
    Returns the value as int.
    long
    Returns the value as long.
    short
    Returns the value as short.
  • Method Details

    • byteValue

      byte byteValue()
      Returns the value as byte.
      Returns:
      value as byte
    • shortValue

      short shortValue()
      Returns the value as short.
      Returns:
      value as short
    • intValue

      int intValue()
      Returns the value as int.
      Returns:
      value as int
    • longValue

      long longValue()
      Returns the value as long.
      Returns:
      value as long
    • floatValue

      float floatValue()
      Returns the value as float.
      Returns:
      value as float
    • doubleValue

      double doubleValue()
      Returns the value as double.
      Returns:
      value as double