public class BitField extends DelegatingParameter implements IntegerParameter
LICENSE_TYPE, V
Constructor and Description |
---|
BitField(int bitCount)
Construct a new bit field for structire
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj)
Compares this
Parameter object to a given object. |
int |
getBitCount() |
int |
getBitIndex() |
long |
getValue()
Returns an integer value converted to
long |
void |
setValue(long val)
Sets an integer value.
|
java.lang.String |
toString() |
acceptIOPerformer, getDataBuffer, getDataBufferOffset, getDebugInfo, getLength, getValueObject, pop, push, read, setDataBuffer, setValueObject, write
asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, hashCode, indent, read, read, toByteArray, write
public BitField(int bitCount)
bitCount
- the count of bits for fieldpublic int getBitIndex()
public int getBitCount()
public long getValue()
IntegerParameter
long
getValue
in interface IntegerParameter
public void setValue(long val)
IntegerParameter
setValue
in interface IntegerParameter
public boolean equals(java.lang.Object obj)
Parameter
Parameter
object to a given object. Two
Parameter
objects are considered equal if their byte
representations are equal and they are of the same type. Subclasses may
override this method as appropriate.public java.lang.String toString()
toString
in class DelegatingParameter