public class BooleanValue extends MibValue
| Modifier and Type | Field and Description |
|---|---|
static BooleanValue |
FALSE
The boolean false value.
|
static BooleanValue |
TRUE
The boolean true value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object obj)
Compares this object with the specified object for order.
|
MibValue |
createReference()
Creates a value reference to this value.
|
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,
MibType type)
Initializes the MIB value.
|
java.lang.Object |
toObject()
Returns a Java Boolean representation of this value.
|
java.lang.String |
toString()
Returns a string representation of this value.
|
clear, getName, getReferenceSymbol, isReferenceTo, isReferenceTo, setReferenceSymbolpublic static final BooleanValue TRUE
public static final BooleanValue FALSE
public MibValue initialize(MibLoaderLog log, MibType type)
NOTE: This is an internal method that should only be called by the MIB loader.
initialize in class MibValuelog - the MIB loader logtype - the value typepublic MibValue createReference()
NOTE: This is an internal method that should only be called by the MIB loader.
createReference in class MibValuepublic int compareTo(java.lang.Object obj)
obj - the object to compare topublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare withpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Object toObject()
public java.lang.String toString()
toString in class java.lang.Object