Package org.jivesoftware.smack.datatypes
Class UInt16
java.lang.Object
java.lang.Number
org.jivesoftware.smack.datatypes.Scalar
org.jivesoftware.smack.datatypes.UInt16
- All Implemented Interfaces:
Serializable,CharSequence,Comparable<UInt16>,DefaultCharSequence
A number representing an unsigned 16-bit integer. Can be used for values with the XML schema type "xs:unsignedShort".
- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from class org.jivesoftware.smack.datatypes.Scalar
doubleValue, floatValue, intValue, longValue, number, toStringMethods inherited from class java.lang.Number
byteValue, shortValueMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePointsMethods inherited from interface org.jivesoftware.smack.util.DefaultCharSequence
charAt, length, subSequence
-
Field Details
-
MIN_VALUE_INT
public static final int MIN_VALUE_INT- See Also:
-
MAX_VALUE_INT
public static final int MAX_VALUE_INT- See Also:
-
MIN_VALUE
-
MAX_VALUE
-
-
Method Details
-
nativeRepresentation
public int nativeRepresentation() -
from
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<UInt16>
-
getMinValue
- Specified by:
getMinValuein classScalar
-
getMaxValue
- Specified by:
getMaxValuein classScalar
-
incrementedByOne
- Specified by:
incrementedByOnein classScalar
-