protected static class PlaceNameLayer.PlaceNameChunk extends Object implements Cacheable
Modifier and Type | Field and Description |
---|---|
protected long |
estimatedMemorySize |
protected double[] |
latlonArray |
protected int |
numEntries |
protected PlaceNameService |
placeNameService |
protected CharBuffer |
textArray |
protected int[] |
textIndexArray |
Modifier | Constructor and Description |
---|---|
protected |
PlaceNameChunk(PlaceNameService service,
CharBuffer text,
int[] textIndices,
double[] positions,
int numEntries) |
Modifier and Type | Method and Description |
---|---|
protected long |
computeEstimatedMemorySize() |
protected PlaceNameService |
getPlaceNameService() |
protected Position |
getPosition(int index) |
long |
getSizeInBytes()
Retrieves the approximate size of this object in bytes.
|
protected CharSequence |
getText(int index) |
protected Iterable<GeographicText> |
makeIterable(DrawContext dc) |
protected final long estimatedMemorySize
protected final double[] latlonArray
protected final int numEntries
protected final PlaceNameService placeNameService
protected final CharBuffer textArray
protected final int[] textIndexArray
protected PlaceNameChunk(PlaceNameService service, CharBuffer text, int[] textIndices, double[] positions, int numEntries)
protected long computeEstimatedMemorySize()
protected PlaceNameService getPlaceNameService()
protected Position getPosition(int index)
public long getSizeInBytes()
Cacheable
getSizeInBytes
in interface Cacheable
Cacheable
object's size in bytesprotected CharSequence getText(int index)
protected Iterable<GeographicText> makeIterable(DrawContext dc)