org.odata4j.core
Class UnsignedByte

java.lang.Object
  extended by java.lang.Number
      extended by org.odata4j.core.UnsignedByte
All Implemented Interfaces:
Serializable, Comparable<UnsignedByte>

public class UnsignedByte
extends Number
implements Comparable<UnsignedByte>

Unsigned 8-bit integer (0-255)

See Also:
Serialized Form

Field Summary
static UnsignedByte MAX_VALUE
           
static UnsignedByte MIN_VALUE
           
 
Constructor Summary
UnsignedByte(int value)
           
 
Method Summary
 int compareTo(UnsignedByte other)
           
 double doubleValue()
           
 boolean equals(Object obj)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
static UnsignedByte parseUnsignedByte(String value)
           
 String toString()
           
static UnsignedByte valueOf(int value)
           
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_VALUE

public static final UnsignedByte MAX_VALUE

MIN_VALUE

public static final UnsignedByte MIN_VALUE
Constructor Detail

UnsignedByte

public UnsignedByte(int value)
Method Detail

compareTo

public int compareTo(UnsignedByte other)
Specified by:
compareTo in interface Comparable<UnsignedByte>

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

floatValue

public float floatValue()
Specified by:
floatValue in class Number

hashCode

public int hashCode()
Overrides:
hashCode in class Object

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

parseUnsignedByte

public static UnsignedByte parseUnsignedByte(String value)

toString

public String toString()
Overrides:
toString in class Object

valueOf

public static UnsignedByte valueOf(int value)


http://odata4j.org