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