Class UnlimitedNatural

  • All Implemented Interfaces:
    java.io.Serializable

    @OpenApiAll
    public class UnlimitedNatural
    extends java.lang.Number
    The Class UnlimitedNatural.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnlimitedNatural

        public UnlimitedNatural​(int naturalValue)
        operation UnlimitedNatural.
        Parameters:
        naturalValue - the natural value
      • UnlimitedNatural

        public UnlimitedNatural()
        operation UnlimitedNatural.
    • Method Detail

      • setNaturalValue

        public void setNaturalValue​(int value)
        set naturalValue.
        Parameters:
        value - a value
      • getNaturalValue

        public int getNaturalValue()
        get naturalValue.
        Returns:
        naturalValue
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • intValue

        public int intValue()
        Specified by:
        intValue in class java.lang.Number
      • longValue

        public long longValue()
        Specified by:
        longValue in class java.lang.Number
      • floatValue

        public float floatValue()
        Specified by:
        floatValue in class java.lang.Number
      • doubleValue

        public double doubleValue()
        Specified by:
        doubleValue in class java.lang.Number