org.sblim.wbem.cim
Class UnsignedInt32

java.lang.Object
  extended byjava.lang.Number
      extended byorg.sblim.wbem.cim.UnsignedInt32
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class UnsignedInt32
extends java.lang.Number
implements java.io.Serializable, java.lang.Cloneable

Implements a 32-bit unsigned integer object. The value range of an unsigned integer of 32-bit is '0 .. 4294967295'.

See Also:
Serialized Form

Field Summary
static long MAX_VALUE
          The maximum value a unsigned integer of 32-bit value can be.
static long MIN_VALUE
          The minimum value a unsigned integer of 32-bit value can be.
 
Constructor Summary
UnsignedInt32(byte pValue)
          Constructs an unsigned 32-bit integer object for the specified byte value.
UnsignedInt32(int pValue)
          Constructs an unsigned 32-bit integer object for the specified int value.
UnsignedInt32(long pValue)
          Constructs an unsigned 32-bit integer object for the specified long value.
UnsignedInt32(short pValue)
          Constructs an unsigned 32-bit integer object for the specified short value.
UnsignedInt32(java.lang.String pValue)
          Constructs an unsigned 32-bit integer object for the specified String value.
UnsignedInt32(UnsignedInt16 pValue)
          Constructs an unsigned 32-bit integer object for the specified UnsignedInt16 value.
UnsignedInt32(UnsignedInt32 pValue)
          Constructs an unsigned 32-bit integer object for the specified UnsignedInt32 value.
UnsignedInt32(UnsignedInt8 pValue)
          Constructs an unsigned 32-bit integer object for the specified UnsignedInt8 value.
 
Method Summary
 byte byteValue()
           
 java.lang.Object clone()
           
 double doubleValue()
           
 boolean equals(java.lang.Object o)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
 short shortValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN_VALUE

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


MAX_VALUE

public static long MAX_VALUE
The maximum value a unsigned integer of 32-bit value can be. Its value is '4294967295L'.

Constructor Detail

UnsignedInt32

public UnsignedInt32(byte pValue)
Constructs an unsigned 32-bit integer object for the specified byte value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.IllegalArgumentException - If value does not fit into the MIN_VALUE .. MAX_VALUE range.

UnsignedInt32

public UnsignedInt32(short pValue)
Constructs an unsigned 32-bit integer object for the specified short value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.IllegalArgumentException - If value does not fit into the MIN_VALUE .. MAX_VALUE range.

UnsignedInt32

public UnsignedInt32(int pValue)
Constructs an unsigned 32-bit integer object for the specified int value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.IllegalArgumentException - If value does not fit into the MIN_VALUE .. MAX_VALUE range.

UnsignedInt32

public UnsignedInt32(long pValue)
Constructs an unsigned 32-bit integer object for the specified long value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.IllegalArgumentException - If value does not fit into the MIN_VALUE .. MAX_VALUE range.

UnsignedInt32

public UnsignedInt32(java.lang.String pValue)
Constructs an unsigned 32-bit integer object for the specified String value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.NumberFormatException - If value contains non numeric values.
java.lang.IllegalArgumentException - If value is not a null/empty string or if value does not fit into the MIN_VALUE .. MAX_VALUE range.

UnsignedInt32

public UnsignedInt32(UnsignedInt8 pValue)
Constructs an unsigned 32-bit integer object for the specified UnsignedInt8 value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.IllegalArgumentException - If value does not fit into the MIN_VALUE .. MAX_VALUE range.

UnsignedInt32

public UnsignedInt32(UnsignedInt16 pValue)
Constructs an unsigned 32-bit integer object for the specified UnsignedInt16 value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.IllegalArgumentException - If value does not fit into the MIN_VALUE .. MAX_VALUE range.

UnsignedInt32

public UnsignedInt32(UnsignedInt32 pValue)
Constructs an unsigned 32-bit integer object for the specified UnsignedInt32 value.

Parameters:
pValue - The value of the created object
Throws:
java.lang.IllegalArgumentException - If value does not fit into the MIN_VALUE .. MAX_VALUE range.
Method Detail

toString

public java.lang.String toString()

equals

public boolean equals(java.lang.Object o)

byteValue

public byte byteValue()

shortValue

public short shortValue()

intValue

public int intValue()

longValue

public long longValue()

floatValue

public float floatValue()

doubleValue

public double doubleValue()

hashCode

public int hashCode()

clone

public java.lang.Object clone()


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