Class BooleanObject
- java.lang.Object
-
- org.apache.sysds.runtime.instructions.cp.Data
-
- org.apache.sysds.runtime.instructions.cp.ScalarObject
-
- org.apache.sysds.runtime.instructions.cp.BooleanObject
-
- All Implemented Interfaces:
Serializable
public class BooleanObject extends ScalarObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BooleanObject(boolean val)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetBooleanValue()doublegetDoubleValue()StringgetLanguageSpecificStringValue()longgetLongValue()intgetSize()StringgetStringValue()ObjectgetValue()-
Methods inherited from class org.apache.sysds.runtime.instructions.cp.ScalarObject
getDebugName, toString
-
Methods inherited from class org.apache.sysds.runtime.instructions.cp.Data
getDataType, getMetaData, getPrivacyConstraint, getValueType, removeMetaData, setMetaData, setPrivacyConstraints, updateDataCharacteristics
-
-
-
-
Method Detail
-
getBooleanValue
public boolean getBooleanValue()
- Specified by:
getBooleanValuein classScalarObject
-
getLongValue
public long getLongValue()
- Specified by:
getLongValuein classScalarObject
-
getDoubleValue
public double getDoubleValue()
- Specified by:
getDoubleValuein classScalarObject
-
getStringValue
public String getStringValue()
- Specified by:
getStringValuein classScalarObject
-
getLanguageSpecificStringValue
public String getLanguageSpecificStringValue()
- Overrides:
getLanguageSpecificStringValuein classScalarObject
-
getValue
public Object getValue()
- Specified by:
getValuein classScalarObject
-
getSize
public int getSize()
- Specified by:
getSizein classScalarObject
-
-