Package org.apache.poi.ss.formula.eval
Class BoolEval
- java.lang.Object
-
- org.apache.poi.ss.formula.eval.BoolEval
-
- All Implemented Interfaces:
NumericValueEval,StringValueEval,ValueEval
public final class BoolEval extends Object implements NumericValueEval, StringValueEval
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBooleanValue()HyperlinkgetHyperlink()doublegetNumberValue()StringgetStringValue()voidsetHyperlink(Hyperlink hyperlink)StringtoString()static BoolEvalvalueOf(boolean b)Convenience method for the following:
(b ? BoolEval.TRUE : BoolEval.FALSE)
-
-
-
Method Detail
-
valueOf
public static BoolEval valueOf(boolean b)
Convenience method for the following:
(b ? BoolEval.TRUE : BoolEval.FALSE)- Returns:
- the
BoolEvalinstance representingb.
-
getBooleanValue
public boolean getBooleanValue()
-
getNumberValue
public double getNumberValue()
- Specified by:
getNumberValuein interfaceNumericValueEval
-
getStringValue
public String getStringValue()
- Specified by:
getStringValuein interfaceStringValueEval- Returns:
- never
null, possibly empty string.
-
setHyperlink
public void setHyperlink(Hyperlink hyperlink)
-
getHyperlink
public Hyperlink getHyperlink()
-
-