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, writeasReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, hashCode, indent, read, read, toByteArray, writepublic BitField(int bitCount)
bitCount - the count of bits for fieldpublic int getBitIndex()
public int getBitCount()
public long getValue()
IntegerParameterlonggetValue in interface IntegerParameterpublic void setValue(long val)
IntegerParametersetValue in interface IntegerParameterpublic boolean equals(java.lang.Object obj)
ParameterParameter 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