|
||||||||||
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 | |
---|---|
BigInteger |
bigIntValue()
bigIntValue |
int |
bitLength()
bitLength |
byte |
byteValue()
byteValue |
int |
getBitWidth()
getBitWidth |
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 |
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 IllegalArgumentException
pUriStr
- pBitWidth
-
IllegalArgumentException
- if parsing failed.public static Value parseSigned(URIString pUriStr, int pBitWidth) throws IllegalArgumentException
pUriStr
- pBitWidth
-
IllegalArgumentException
- if parsing failed.public byte byteValue()
public short shortValue()
public int intValue()
public long longValue()
public 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 String toString()
toString
in class Object
Object.toString()
public String getTypeInfo()
Value
getTypeInfo
in class Value
Value.getTypeInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |