public class HexNumberValue extends NumberValue
Constructor and Description |
---|
HexNumberValue(java.lang.Number value)
Creates a new hexadecimal number value.
|
HexNumberValue(java.lang.Number value,
int minLength)
Creates a new hexadecimal 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 HexNumberValue(java.lang.Number value)
value
- the number valuepublic HexNumberValue(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