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 double
doubleValue()
boolean
equals(Object other)
float
floatValue()
abstract Scalar
getMaxValue()
abstract Scalar
getMinValue()
abstract int
hashCode()
abstract Scalar
incrementedByOne()
int
intValue()
long
longValue()
Number
number()
String
toString()
-
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:
floatValue
in classNumber
-
doubleValue
public final double doubleValue()
- Specified by:
doubleValue
in classNumber
-
toString
public final String toString()
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-
getMinValue
public abstract Scalar getMinValue()
-
getMaxValue
public abstract Scalar getMaxValue()
-
incrementedByOne
public abstract Scalar incrementedByOne()
-
-