|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.percederberg.mibble.value.NumberValue
A numeric MIB value.
Constructor Summary | |
NumberValue(java.lang.Number value)
Creates a new number value. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks if this object equals another object. |
int |
hashCode()
Returns a hash code for this object. |
MibValue |
initialize(MibLoaderLog log)
Initializes the MIB value. |
java.lang.Object |
toObject()
Returns a Java Number representation of this value. |
java.lang.String |
toString()
Returns a string representation of this value. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NumberValue(java.lang.Number value)
value
- the number valueMethod Detail |
public MibValue initialize(MibLoaderLog log)
initialize
in interface MibValue
log
- the MIB loader log
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare with
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object toObject()
toObject
in interface MibValue
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |