net.percederberg.mibble.value
Class BinaryNumberValue
java.lang.Object
net.percederberg.mibble.MibValue
net.percederberg.mibble.value.NumberValue
net.percederberg.mibble.value.BinaryNumberValue
- All Implemented Interfaces:
- java.lang.Comparable
public class BinaryNumberValue
- extends NumberValue
A binary numeric MIB value.
- Since:
- 2.6
|
Constructor Summary |
BinaryNumberValue(java.lang.Number value)
Creates a new binary number value. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BinaryNumberValue
public BinaryNumberValue(java.lang.Number value)
- Creates a new binary number value.
- Parameters:
value - the number value
initialize
public MibValue initialize(MibLoaderLog log,
MibType type)
- Initializes the MIB value. This will remove all levels of
indirection present, such as references to other values. No
value information is lost by this operation. This method may
modify this object as a side-effect, and will return the basic
value.
NOTE: This is an internal method that should
only be called by the MIB loader.
- Overrides:
initialize in class NumberValue
- Parameters:
log - the MIB loader logtype - the value type
- Returns:
- the basic MIB value
toString
public java.lang.String toString()
- Returns a string representation of this value.
- Overrides:
toString in class NumberValue
- Returns:
- a string representation of this value