gov.nasa.worldwind.layers.placename
Class PlaceNameLayer.Tile
java.lang.Object
gov.nasa.worldwind.layers.placename.PlaceNameLayer.Tile
- All Implemented Interfaces:
- Cacheable
- Enclosing class:
- PlaceNameLayer
protected static class PlaceNameLayer.Tile
- extends Object
- implements Cacheable
column
protected final int column
dataChunk
protected PlaceNameLayer.PlaceNameChunk dataChunk
extentVerticalExaggeration
protected double extentVerticalExaggeration
fileCachePath
protected String fileCachePath
placeNameService
protected final PlaceNameService placeNameService
priority
protected double priority
row
protected final int row
sector
protected final Sector sector
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
getDataChunk
public PlaceNameLayer.PlaceNameChunk getDataChunk()
getFileCachePath
public String getFileCachePath()
getHashInt
public Integer getHashInt()
getPlaceNameService
public PlaceNameService getPlaceNameService()
getPriority
public double getPriority()
getRequestURL
public URL getRequestURL()
throws MalformedURLException
- Throws:
MalformedURLException
getSector
public Sector getSector()
getSizeInBytes
public long getSizeInBytes()
- Description copied from interface:
Cacheable
- Retrieves the approximate size of this object in bytes. Implementors are encouraged to calculate the exact size
for smaller objects, but use approximate values for objects that include such large components that the
approximation would produce an error so small that the extra computation would be wasteful.
- Specified by:
getSizeInBytes
in interface Cacheable
- Returns:
- this
Cacheable
object's size in bytes
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isTileInMemoryWithData
protected boolean isTileInMemoryWithData()
setDataChunk
public void setDataChunk(PlaceNameLayer.PlaceNameChunk chunk)
setPriority
public void setPriority(double priority)