Package com.oracle.truffle.api.object
Class ObjectType
- java.lang.Object
-
- com.oracle.truffle.api.object.ObjectType
-
public class ObjectType extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ObjectType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
createShapeData(Shape shape)
Creates a data object to be associated with a newly created shape.boolean
equals(DynamicObject object, java.lang.Object other)
Delegate method forDynamicObject#equals(Object)
.int
hashCode(DynamicObject object)
Delegate method forDynamicObject#hashCode()
.void
onPropertyAdded(Property property, Shape shapeBefore, Shape shapeAfter)
Called when a new property is added to a shape.java.lang.String
toString(DynamicObject object)
Delegate method forDynamicObject#toString()
.
-
-
-
Method Detail
-
equals
public boolean equals(DynamicObject object, java.lang.Object other)
Delegate method forDynamicObject#equals(Object)
.
-
hashCode
public int hashCode(DynamicObject object)
Delegate method forDynamicObject#hashCode()
.
-
toString
public java.lang.String toString(DynamicObject object)
Delegate method forDynamicObject#toString()
.
-
createShapeData
public java.lang.Object createShapeData(Shape shape)
Creates a data object to be associated with a newly created shape.- Parameters:
shape
- the shape for which to create the data object
-
-