org.sblim.wbem.cim

Class UnsignedInt16

Implemented Interfaces:
Cloneable, java.io.Serializable

public class UnsignedInt16
extends Number
implements java.io.Serializable, Cloneable

Implements a 16-bit unsigned integer object. The value range of an unsigned integer of 16-bit is '0 .. 65535'.
See Also:
Serialized Form

Field Summary

static int
MAX_VALUE
The maximum value a unsigned integer of 16-bit value can be.
static int
MIN_VALUE
The minimum value a unsigned integer of 16-bit value can be.

Constructor Summary

UnsignedInt16(String pValue)
Constructs an unsigned 16-bit integer object for the specified String value.
UnsignedInt16(byte pValue)
Constructs an unsigned 16-bit integer object for the specified byte value.
UnsignedInt16(int pValue)
Constructs an unsigned 16-bit integer object for the specified int value.
UnsignedInt16(UnsignedInt16 pValue)
Constructs an unsigned 16-bit integer object for the specified UnsignedInt16 value.
UnsignedInt16(UnsignedInt8 pValue)
Constructs an unsigned 16-bit integer object for the specified UnsignedInt8 value.
UnsignedInt16(short pValue)
Constructs an unsigned 16-bit integer object for the specified short value.

Method Summary

byte
byteValue()
Object
clone()
double
doubleValue()
boolean
equals(Object o)
float
floatValue()
int
hashCode()
int
intValue()
long
longValue()
short
shortValue()
String
toString()

Field Details

MAX_VALUE

public static int MAX_VALUE
The maximum value a unsigned integer of 16-bit value can be. Its value is '65535'.

MIN_VALUE

public static int MIN_VALUE
The minimum value a unsigned integer of 16-bit value can be. Its value is '0'.

Constructor Details

UnsignedInt16

public UnsignedInt16(String pValue)
Constructs an unsigned 16-bit integer object for the specified String value.
Parameters:
pValue - The value of the created object

UnsignedInt16

public UnsignedInt16(byte pValue)
Constructs an unsigned 16-bit integer object for the specified byte value.
Parameters:
pValue - The value of the created object

UnsignedInt16

public UnsignedInt16(int pValue)
Constructs an unsigned 16-bit integer object for the specified int value.
Parameters:
pValue - The value of the created object

UnsignedInt16

public UnsignedInt16(UnsignedInt16 pValue)
Constructs an unsigned 16-bit integer object for the specified UnsignedInt16 value.
Parameters:
pValue - The value of the created object

UnsignedInt16

public UnsignedInt16(UnsignedInt8 pValue)
Constructs an unsigned 16-bit integer object for the specified UnsignedInt8 value.
Parameters:
pValue - The value of the created object

UnsignedInt16

public UnsignedInt16(short pValue)
Constructs an unsigned 16-bit integer object for the specified short value.
Parameters:
pValue - The value of the created object

Method Details

byteValue

public byte byteValue()

clone

public Object clone()

doubleValue

public double doubleValue()

equals

public boolean equals(Object o)

floatValue

public float floatValue()

hashCode

public int hashCode()

intValue

public int intValue()

longValue

public long longValue()

shortValue

public short shortValue()

toString

public String toString()

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.