public class TwoBitEnumeration extends SignedByte
valuesigned| Constructor and Description |
|---|
TwoBitEnumeration()
Creates a new TwoBitEnumeration object.
|
TwoBitEnumeration(org.jdom.Element element)
Creates a new TwoBitEnumeration object from jdom element - used for xml decoding
|
TwoBitEnumeration(int value)
Creates a new TwoBitEnumeration object.
|
| Modifier and Type | Method and Description |
|---|---|
LLRPBitList |
encodeBinary()
overwritte encode
|
static int |
length()
number of bits to represent this type
|
decodeBinary, decodeXML, encodeXML, inRange, inRange, intValue, toByte, toInteger, toString, toStringequals, hashCodetoXMLStringpublic TwoBitEnumeration()
public TwoBitEnumeration(org.jdom.Element element)
element - to be decodedpublic TwoBitEnumeration(int value)
value - to setpublic LLRPBitList encodeBinary()
encodeBinary in class SignedBytepublic static int length()
Copyright © 2007 ETH Zurich.