Class UInt16

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.CharSequence, java.lang.Comparable<UInt16>, DefaultCharSequence

    public final class UInt16
    extends Scalar
    implements java.lang.Comparable<UInt16>
    A number representing an unsigned 16-bit integer. Can be used for values with the XML schema type "xs:unsingedShort".
    See Also:
    Serialized Form
    • Method Detail

      • nativeRepresentation

        public int nativeRepresentation()
      • from

        public static UInt16 from​(int number)
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class Scalar
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class Scalar
      • compareTo

        public int compareTo​(UInt16 o)
        Specified by:
        compareTo in interface java.lang.Comparable<UInt16>