org.gillius.realdb.model.data
Class UnsignedShort
java.lang.Object
java.lang.Number
org.gillius.realdb.model.data.UnsignedShort
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<UnsignedShort>
public final class UnsignedShort
- extends java.lang.Number
- implements java.lang.Comparable<UnsignedShort>
UnsignedShort represents an unsigned 16-bit number from 0 to 65535.
- Author:
- Jason Winnebeck
- See Also:
- Serialized Form
Methods inherited from class java.lang.Number |
byteValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UnsignedShort
public UnsignedShort(int value)
UnsignedShort
public UnsignedShort(short value)
shortValue
public short shortValue()
- Overrides:
shortValue
in class java.lang.Number
intValue
public int intValue()
- Specified by:
intValue
in class java.lang.Number
longValue
public long longValue()
- Specified by:
longValue
in class java.lang.Number
floatValue
public float floatValue()
- Specified by:
floatValue
in class java.lang.Number
doubleValue
public double doubleValue()
- Specified by:
doubleValue
in class java.lang.Number
compareTo
public int compareTo(UnsignedShort o)
- Specified by:
compareTo
in interface java.lang.Comparable<UnsignedShort>
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2008-2010 Jason Winnebeck. All Rights Reserved.