public class BasicLayout extends LayoutImpl
Layout.ImplicitCastINT_TO_DOUBLE, INT_TO_LONG, NONE, OPTION_PREFIX| Modifier and Type | Method and Description |
|---|---|
Shape.Allocator |
createAllocator()
Create an allocator for static property creation.
|
Shape |
createShape(ObjectType operations,
java.lang.Object sharedData,
int id) |
protected Location |
getObjectArrayLocation() |
protected int |
getObjectFieldCount() |
protected ObjectLocation |
getObjectFieldLocation(int index) |
protected Location |
getPrimitiveArrayLocation() |
protected int |
getPrimitiveFieldCount() |
protected LocationImpl.InternalLongLocation |
getPrimitiveFieldLocation(int index) |
protected boolean |
hasObjectExtensionArray() |
protected boolean |
hasPrimitiveExtensionArray() |
DynamicObject |
newInstance(Shape shape) |
protected int |
objectFieldIndex(Location location) |
createShape, createShape, existingLocationForValue, getStrategy, getType, isAllowedIntToDouble, isAllowedIntToLong, isLocationAssignableFrom, isPropertyUpcastOfcreateLayout, createLayout, createLayout, getFactorypublic DynamicObject newInstance(Shape shape)
newInstance in class LayoutImplpublic Shape createShape(ObjectType operations, java.lang.Object sharedData, int id)
createShape in class Layoutprotected boolean hasObjectExtensionArray()
hasObjectExtensionArray in class LayoutImplprotected boolean hasPrimitiveExtensionArray()
hasPrimitiveExtensionArray in class LayoutImplprotected int getObjectFieldCount()
getObjectFieldCount in class LayoutImplprotected int getPrimitiveFieldCount()
getPrimitiveFieldCount in class LayoutImplprotected Location getObjectArrayLocation()
getObjectArrayLocation in class LayoutImplprotected Location getPrimitiveArrayLocation()
getPrimitiveArrayLocation in class LayoutImplprotected ObjectLocation getObjectFieldLocation(int index)
protected LocationImpl.InternalLongLocation getPrimitiveFieldLocation(int index)
public Shape.Allocator createAllocator()
LayoutcreateAllocator in class LayoutImplprotected int objectFieldIndex(Location location)
objectFieldIndex in class LayoutImpl