Top Fields Constructors Methods
org.apache.poi.ss.formula.eval

public final Class BoolEval

extends Object
implements NumericValueEval, StringValueEval
Class Inheritance
All Implemented Interfaces
org.apache.poi.ss.formula.eval.StringValueEval, org.apache.poi.ss.formula.eval.ValueEval, org.apache.poi.ss.formula.eval.NumericValueEval

Field Summary

Modifier and TypeField and Description
private final boolean
public static final BoolEval
public static final BoolEval

Constructor Summary

AccessConstructor and Description
private
BoolEval(boolean value)

Method Summary

Modifier and TypeMethod and Description
public boolean
public double
public String
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

public static BoolEval

Returns:

the BoolEval instance representing b.
valueOf
(boolean b)

Convenience method for the following: (b ?

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

_valueback to summary
private final boolean _value
FALSEback to summary
public static final BoolEval FALSE
TRUEback to summary
public static final BoolEval TRUE

Constructor Detail

BoolEvalback to summary
private BoolEval(boolean value)

Method Detail

getBooleanValueback to summary
public boolean getBooleanValue()
getNumberValueback to summary
public double getNumberValue()

Implements org.apache.poi.ss.formula.eval.NumericValueEval.getNumberValue.

Annotations
@Override
getStringValueback to summary
public String getStringValue()

Implements org.apache.poi.ss.formula.eval.StringValueEval.getStringValue.

Returns:String

Doc from org.apache.poi.ss.formula.eval.StringValueEval.getStringValue.

never null, possibly empty string.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

valueOfback to summary
public static BoolEval valueOf(boolean b)

Convenience method for the following:
(b ? BoolEval.TRUE : BoolEval.FALSE)

Returns:BoolEval

the BoolEval instance representing b.