javax.cim

Class UnsignedInteger32

public class UnsignedInteger32 extends Number implements Comparable<UnsignedInteger32>

This class represents an UnsignedInteger32. A uint32 data type is defined by the (DMTF) CIM Infrastructure Specification (DSP004).
Field Summary
static longMAX_VALUE
The maximum value for an UnsignedInteger32.
static longMIN_VALUE
The minimum value for an UnsignedInteger32.
Constructor Summary
UnsignedInteger32(long pValue)
Constructs an unsigned 32-bit integer object for the specified long value.
UnsignedInteger32(String pValue)
Constructs an unsigned 32-bit integer object for the specified string.
Method Summary
intcompareTo(UnsignedInteger32 pOther)
Compares this object with the specified object for order.

Field Detail

MAX_VALUE

public static final long MAX_VALUE
The maximum value for an UnsignedInteger32.

MIN_VALUE

public static final long MIN_VALUE
The minimum value for an UnsignedInteger32.

Constructor Detail

UnsignedInteger32

public UnsignedInteger32(long pValue)
Constructs an unsigned 32-bit integer object for the specified long value. Only the lower 32 bits are considered.

Parameters: pValue The long to be represented as an unsigned 32-bit integer.

Throws: NumberFormatException If the number is out of range.

UnsignedInteger32

public UnsignedInteger32(String pValue)
Constructs an unsigned 32-bit integer object for the specified string. Only the lower 32 bits are considered.

Parameters: pValue The string to be represented as an unsigned 32-bit integer.

Throws: NumberFormatException If the number is out of range.

Method Detail

compareTo

public int compareTo(UnsignedInteger32 pOther)
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Parameters: pOther The Object to be compared.

Returns: A negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

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