public class BinaryNumberValue extends NumberValue
Constructor and Description |
---|
BinaryNumberValue(java.lang.Number value)
Creates a new binary number value.
|
BinaryNumberValue(java.lang.Number value,
int minLength)
Creates a new binary number value.
|
Modifier and Type | Method and Description |
---|---|
MibValue |
initialize(MibLoaderLog log,
MibType type)
Initializes the MIB value.
|
java.lang.String |
toString()
Returns a string representation of this value.
|
compareTo, createReference, equals, getByteSize, hashCode, toObject
clear, getName, getReferenceSymbol, isReferenceTo, isReferenceTo, setReferenceSymbol
public BinaryNumberValue(java.lang.Number value)
value
- the number valuepublic BinaryNumberValue(java.lang.Number value, int minLength)
value
- the number valueminLength
- the minimum print lengthpublic MibValue initialize(MibLoaderLog log, MibType type)
NOTE: This is an internal method that should only be called by the MIB loader.
initialize
in class NumberValue
log
- the MIB loader logtype
- the value typepublic java.lang.String toString()
toString
in class NumberValue