protected static class SurfaceObjectTileBuilder.SurfaceObjectTileStateKey
Represents a surface renderable tile's current state. TileStateKey distinguishes the tile's state by comparing
the individual state keys of the surface renderables intersecting the tile. This does not retain any references
to the surface renderables themselves. Should the tile state key live longer than the surface renderables, the
state key does not prevent those objects from being reclaimed by the garbage collector.
Construsts a tile state key for the specified surface renderable tile.
dc - the draw context the state key is related to.
tile - the tile to construct a state key for.
public boolean equals(java.lang.Object o)
equals in class java.lang.Object
public long getSizeInBytes()
Returns the tile state key's size in bytes. The total size of the intersecting object keys, plus the size of
the array itself. The tileKey is owned by the SurfaceObjectTile, so we don't include it in the state key's