public class BinaryValue extends MangoValue implements java.lang.Comparable<BinaryValue>
| Modifier and Type | Field and Description | 
|---|---|
| static BinaryValue | ONE | 
| private boolean | value | 
| static BinaryValue | ZERO | 
| Constructor and Description | 
|---|
| BinaryValue(boolean value) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(BinaryValue that) | 
| <T extends MangoValue> | compareTo(T that) | 
| boolean | equals(java.lang.Object obj) | 
| boolean | getBooleanValue() | 
| int | getDataType() | 
| double | getDoubleValue() | 
| int | getIntegerValue() | 
| java.lang.Object | getObjectValue() | 
| java.lang.String | getStringValue() | 
| boolean | hasDoubleRepresentation() | 
| int | hashCode() | 
| java.lang.Number | numberValue() | 
| static BinaryValue | parseBinary(java.lang.String s) | 
| java.lang.String | toString() | 
numberValue, objectToValue, stringToValuepublic static final BinaryValue ZERO
public static final BinaryValue ONE
private final boolean value
public static BinaryValue parseBinary(java.lang.String s)
public boolean hasDoubleRepresentation()
hasDoubleRepresentation in class MangoValuepublic double getDoubleValue()
getDoubleValue in class MangoValuepublic java.lang.String getStringValue()
getStringValue in class MangoValuepublic boolean getBooleanValue()
getBooleanValue in class MangoValuepublic java.lang.Object getObjectValue()
getObjectValue in class MangoValuepublic int getIntegerValue()
getIntegerValue in class MangoValuepublic int getDataType()
getDataType in class MangoValuepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Number numberValue()
numberValue in class MangoValuepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(BinaryValue that)
compareTo in interface java.lang.Comparable<BinaryValue>public <T extends MangoValue> int compareTo(T that)
compareTo in class MangoValue