|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sblim.cimclient.internal.uri.Value
org.sblim.cimclient.internal.uri.IntegerValue
public class IntegerValue
Class IntegerValue parses and encapsulates an integer value.
| Method Summary | |
|---|---|
java.math.BigInteger |
bigIntValue()
bigIntValue |
int |
bitLength()
bitLength |
byte |
byteValue()
byteValue |
int |
getBitWidth()
getBitWidth |
java.lang.String |
getTypeInfo()
getTypeInfo |
int |
intValue()
intValue |
boolean |
isNegative()
isNegative |
boolean |
isSigned()
isSigned |
long |
longValue()
longValue |
static Value |
parse(URIString pUriStr)
Parses an untyped integer value. |
static Value |
parseSigned(URIString pUriStr,
int pBitWidth)
parseSigned |
static Value |
parseUnsigned(URIString pUriStr,
int pBitWidth)
parseUnsigned |
short |
shortValue()
shortValue |
java.lang.String |
toString()
|
| Methods inherited from class org.sblim.cimclient.internal.uri.Value |
|---|
parse |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static Value parse(URIString pUriStr)
pUriStr -
Value
public static Value parseUnsigned(URIString pUriStr,
int pBitWidth)
throws java.lang.IllegalArgumentException
pUriStr - pBitWidth -
java.lang.IllegalArgumentException - if parsing failed.
public static Value parseSigned(URIString pUriStr,
int pBitWidth)
throws java.lang.IllegalArgumentException
pUriStr - pBitWidth -
java.lang.IllegalArgumentException - if parsing failed.public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()
public java.math.BigInteger bigIntValue()
public boolean isNegative()
true if the number is negativepublic boolean isSigned()
true if the number is signed integerpublic int bitLength()
public int getBitWidth()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String getTypeInfo()
Value
getTypeInfo in class ValueValue.getTypeInfo()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||