Class Scalar

java.lang.Object
java.lang.Number
org.jivesoftware.smack.datatypes.Scalar
All Implemented Interfaces:
Serializable, CharSequence, DefaultCharSequence
Direct Known Subclasses:
UInt16, UInt32

public abstract class Scalar extends Number implements DefaultCharSequence
See Also:
  • Constructor Details

    • Scalar

      protected Scalar(Number number)
  • Method Details

    • number

      public final Number number()
    • intValue

      public final int intValue()
      Specified by:
      intValue in class Number
    • longValue

      public final long longValue()
      Specified by:
      longValue in class Number
    • floatValue

      public final float floatValue()
      Specified by:
      floatValue in class Number
    • doubleValue

      public final double doubleValue()
      Specified by:
      doubleValue in class Number
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public final String toString()
      Specified by:
      toString in interface CharSequence
      Overrides:
      toString in class Object
    • getMinValue

      public abstract Scalar getMinValue()
    • getMaxValue

      public abstract Scalar getMaxValue()
    • incrementedByOne

      public abstract Scalar incrementedByOne()