public class SignedByte extends LLRPNumberType
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Integer |
value |
signed| Constructor and Description |
|---|
SignedByte()
Creates a new SignedByte object.
|
SignedByte(byte value)
Creates a new SignedByte object.
|
SignedByte(org.jdom.Element element)
Creates a new SignedByte object.
|
SignedByte(int value) |
SignedByte(java.lang.Integer value)
Creates a new SignedByte object from Integer.
|
SignedByte(LLRPBitList bitList)
Creates a new SignedByte object.
|
SignedByte(LLRPBitList bitList,
int bitIndex,
int length) |
SignedByte(java.lang.String stringValue)
Creates a new SignedByte object.
|
SignedByte(java.lang.String valueString,
int radix)
String representation in specified radix.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decodeBinary(LLRPBitList list)
decode
|
void |
decodeXML(org.jdom.Element element)
create objects from xml.
|
LLRPBitList |
encodeBinary()
encode this value
|
org.jdom.Content |
encodeXML(java.lang.String name,
org.jdom.Namespace ns)
create xml representation of this parameter.
|
boolean |
inRange(long value) |
boolean |
inRange(java.lang.String valueString) |
int |
intValue() |
static int |
length()
number of bits used to represent this type.
|
byte |
toByte()
this represented as byte - no loss of precision.
|
java.lang.Integer |
toInteger()
this represented as Integereger - no loss of precision.
|
java.lang.String |
toString()
String representation
|
java.lang.String |
toString(int radix) |
equals, hashCodetoXMLStringpublic SignedByte(byte value)
value - to setpublic SignedByte(java.lang.String stringValue)
stringValue - value as stringpublic SignedByte(java.lang.Integer value)
value - to setpublic SignedByte(int value)
public SignedByte(java.lang.String valueString,
int radix)
public SignedByte(LLRPBitList bitList)
bitList - to be decodedpublic SignedByte(LLRPBitList bitList, int bitIndex, int length)
public SignedByte(org.jdom.Element element)
element - to be decodedpublic SignedByte()
public static int length()
public byte toByte()
public java.lang.Integer toInteger()
toInteger in class LLRPNumberTypepublic int intValue()
intValue in class LLRPNumberTypepublic void decodeXML(org.jdom.Element element)
LLRPTypepublic org.jdom.Content encodeXML(java.lang.String name,
org.jdom.Namespace ns)
LLRPTypepublic void decodeBinary(LLRPBitList list)
LLRPTypedecodeBinary in class LLRPTypelist - to be decodedpublic LLRPBitList encodeBinary()
LLRPTypeencodeBinary in class LLRPTypepublic java.lang.String toString()
LLRPTypetoString in class LLRPNumberTypepublic boolean inRange(long value)
inRange in class LLRPNumberTypeCopyright © 2007 ETH Zurich.