Class DoubleObject
- java.lang.Object
-
- org.apache.sysds.runtime.instructions.cp.Data
-
- org.apache.sysds.runtime.instructions.cp.ScalarObject
-
- org.apache.sysds.runtime.instructions.cp.DoubleObject
-
- All Implemented Interfaces:
Serializable
public class DoubleObject extends ScalarObject
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DoubleObject(double val)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBooleanValue()
String
getDebugName()
double
getDoubleValue()
long
getLongValue()
int
getSize()
String
getStringValue()
Object
getValue()
-
Methods inherited from class org.apache.sysds.runtime.instructions.cp.ScalarObject
getLanguageSpecificStringValue, 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:
getBooleanValue
in classScalarObject
-
getLongValue
public long getLongValue()
- Specified by:
getLongValue
in classScalarObject
-
getDoubleValue
public double getDoubleValue()
- Specified by:
getDoubleValue
in classScalarObject
-
getStringValue
public String getStringValue()
- Specified by:
getStringValue
in classScalarObject
-
getValue
public Object getValue()
- Specified by:
getValue
in classScalarObject
-
getDebugName
public String getDebugName()
- Overrides:
getDebugName
in classScalarObject
-
getSize
public int getSize()
- Specified by:
getSize
in classScalarObject
-
-