public final class BoolEval extends Object implements NumericValueEval, StringValueEval, HyperlinkEval
| Modifier and Type | Field and Description |
|---|---|
static BoolEval |
FALSE |
static BoolEval |
TRUE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanValue() |
Hyperlink |
getHyperlink()
Returns the associated hyperlink if this ValueEval is a label of the HYPERLINK function.
|
double |
getNumberValue() |
String |
getStringValue() |
void |
setHyperlink(Hyperlink hyperlink)
Sets the associated hyperlink if this ValueEval is a label of the HYPERLINK function.
|
String |
toString() |
static BoolEval |
valueOf(boolean b)
Convenience method for the following:
(b ? BoolEval.TRUE : BoolEval.FALSE) |
public static final BoolEval valueOf(boolean b)
(b ? BoolEval.TRUE : BoolEval.FALSE)public boolean getBooleanValue()
public double getNumberValue()
getNumberValue in interface NumericValueEvalpublic String getStringValue()
getStringValue in interface StringValueEvalnull, possibly empty string.public void setHyperlink(Hyperlink hyperlink)
HyperlinkEvalsetHyperlink in interface HyperlinkEvalhyperlink - the associated hyperlinkpublic Hyperlink getHyperlink()
HyperlinkEvalgetHyperlink in interface HyperlinkEvalCopyright © 2020. All rights reserved.