Package org.jivesoftware.smack.datatypes
Class Scalar
- java.lang.Object
-
- java.lang.Number
-
- org.jivesoftware.smack.datatypes.Scalar
-
- All Implemented Interfaces:
Serializable,CharSequence,DefaultCharSequence
public abstract class Scalar extends Number implements DefaultCharSequence
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description doubledoubleValue()booleanequals(Object other)floatfloatValue()abstract ScalargetMaxValue()abstract ScalargetMinValue()abstract inthashCode()abstract ScalarincrementedByOne()intintValue()longlongValue()Numbernumber()StringtoString()-
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.CharSequence
chars, codePoints
-
Methods inherited from interface org.jivesoftware.smack.util.DefaultCharSequence
charAt, length, subSequence
-
-
-
-
Method Detail
-
floatValue
public final float floatValue()
- Specified by:
floatValuein classNumber
-
doubleValue
public final double doubleValue()
- Specified by:
doubleValuein classNumber
-
toString
public final String toString()
- Specified by:
toStringin interfaceCharSequence- Overrides:
toStringin classObject
-
getMinValue
public abstract Scalar getMinValue()
-
getMaxValue
public abstract Scalar getMaxValue()
-
incrementedByOne
public abstract Scalar incrementedByOne()
-
-