public class TwoBitEnumeration extends SignedByte
value
signed
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, toString
equals, hashCode
toXMLString
public TwoBitEnumeration()
public TwoBitEnumeration(org.jdom.Element element)
element
- to be decodedpublic TwoBitEnumeration(int value)
value
- to setpublic LLRPBitList encodeBinary()
encodeBinary
in class SignedByte
public static int length()
Copyright © 2007 ETH Zurich.