protected static class PlaceNameLayer.PlaceNameChunk extends java.lang.Object implements Cacheable
Modifier and Type | Field and Description |
---|---|
protected long |
estimatedMemorySize |
protected double[] |
latlonArray |
protected int |
numEntries |
protected PlaceNameService |
placeNameService |
protected java.nio.CharBuffer |
textArray |
protected int[] |
textIndexArray |
Modifier | Constructor and Description |
---|---|
protected |
PlaceNameChunk(PlaceNameService service,
java.nio.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 java.lang.CharSequence |
getText(int index) |
protected java.lang.Iterable<GeographicText> |
makeIterable(DrawContext dc) |
protected final long estimatedMemorySize
protected final double[] latlonArray
protected final int numEntries
protected final PlaceNameService placeNameService
protected final java.nio.CharBuffer textArray
protected final int[] textIndexArray
protected PlaceNameChunk(PlaceNameService service, java.nio.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 java.lang.CharSequence getText(int index)
protected java.lang.Iterable<GeographicText> makeIterable(DrawContext dc)