Package com.oracle.truffle.api.object
Interface DoubleLocation
-
- All Superinterfaces:
BaseLocation,TypedLocation
- All Known Implementing Classes:
BasicLocations.DoubleLocationDecorator
public interface DoubleLocation extends TypedLocation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetDouble(DynamicObject store, boolean condition)doublegetDouble(DynamicObject store, Shape shape)java.lang.Class<java.lang.Double>getType()The type of this location.voidsetDouble(DynamicObject store, double value)voidsetDouble(DynamicObject store, double value, Shape shape)voidsetDouble(DynamicObject store, double value, Shape oldShape, Shape newShape)
-
-
-
Method Detail
-
getDouble
double getDouble(DynamicObject store, Shape shape)
- See Also:
BaseLocation.get(DynamicObject, Shape)
-
getDouble
double getDouble(DynamicObject store, boolean condition)
- See Also:
BaseLocation.get(DynamicObject, boolean)
-
setDouble
void setDouble(DynamicObject store, double value) throws FinalLocationException
- Throws:
FinalLocationException- See Also:
BaseLocation.set(DynamicObject, Object)
-
setDouble
void setDouble(DynamicObject store, double value, Shape shape) throws FinalLocationException
- Throws:
FinalLocationException- See Also:
BaseLocation.set(DynamicObject, Object, Shape)
-
setDouble
void setDouble(DynamicObject store, double value, Shape oldShape, Shape newShape)
-
getType
java.lang.Class<java.lang.Double> getType()
Description copied from interface:TypedLocationThe type of this location.- Specified by:
getTypein interfaceTypedLocation
-
-