|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hyperion.essbase.calculator.CalcBoolean
Three-value boolean type.
There's only three objects of this type:
CalcBoolean.TRUE, CalcBoolean.FALSE, CalcBoolean.MISSING
.
Field Summary | |
static CalcBoolean |
FALSE
|
static CalcBoolean |
MISSING
|
static CalcBoolean |
TRUE
|
Method Summary | |
static CalcBoolean |
and(CalcBoolean cbx,
CalcBoolean cby)
Logical AND operator in its calc boolean version. |
boolean |
booleanValue()
Gets boolean value of calc boolean (missing maps to false) |
double |
doubleValue()
Gets double value of calc boolean (can be passed back to Essbase): |
boolean |
equals(java.lang.Object obj)
Compares object with another one. |
static CalcBoolean |
getCalcBoolean(boolean b)
Constructs a calc boolean from a boolean. |
static CalcBoolean |
getCalcBoolean(double x)
Constructs a calc boolean from a double. |
static CalcBoolean |
getCalcBoolean(java.lang.String s)
Constructs a calc boolean from a string. |
static CalcBoolean |
not(CalcBoolean cbx)
Logical NOT operator in its calc boolean version |
static CalcBoolean |
or(CalcBoolean cbx,
CalcBoolean cby)
Logical OR operator in its calc boolean version. |
java.lang.String |
toString()
Provides string representation of the object |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final CalcBoolean FALSE
public static final CalcBoolean MISSING
public static final CalcBoolean TRUE
Method Detail |
public static CalcBoolean and(CalcBoolean cbx, CalcBoolean cby)
cbx
- first termcby
- second termpublic boolean booleanValue()
public double doubleValue()
public boolean equals(java.lang.Object obj)
if (a == CalcBoolean.FALSE) ...
equals
in class java.lang.Object
public static CalcBoolean getCalcBoolean(boolean b)
b
- boolean to construct a calc boolean frompublic static CalcBoolean getCalcBoolean(double x)
x
- double to construct a boolean frompublic static CalcBoolean getCalcBoolean(java.lang.String s)
s
- string to construct a boolean frompublic static CalcBoolean not(CalcBoolean cbx)
x
- termpublic static CalcBoolean or(CalcBoolean cbx, CalcBoolean cby)
x
- first termy
- second termpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |