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 java.lang.Object implements Cacheable
-
-
Field Summary
Fields Modifier and Type Field Description protected int
column
protected PlaceNameLayer.PlaceNameChunk
dataChunk
protected double
extentVerticalExaggeration
protected java.lang.String
fileCachePath
protected PlaceNameService
placeNameService
protected double
priority
protected int
row
protected Sector
sector
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
PlaceNameLayer.PlaceNameChunk
getDataChunk()
java.lang.String
getFileCachePath()
java.lang.Integer
getHashInt()
PlaceNameService
getPlaceNameService()
double
getPriority()
java.net.URL
getRequestURL()
Sector
getSector()
long
getSizeInBytes()
Retrieves the approximate size of this object in bytes.int
hashCode()
protected boolean
isTileInMemoryWithData()
void
setDataChunk(PlaceNameLayer.PlaceNameChunk chunk)
void
setPriority(double priority)
-
-
-
Field Detail
-
placeNameService
protected final PlaceNameService placeNameService
-
sector
protected final Sector sector
-
row
protected final int row
-
column
protected final int column
-
fileCachePath
protected java.lang.String fileCachePath
-
extentVerticalExaggeration
protected double extentVerticalExaggeration
-
priority
protected double priority
-
dataChunk
protected PlaceNameLayer.PlaceNameChunk dataChunk
-
-
Method Detail
-
setDataChunk
public void setDataChunk(PlaceNameLayer.PlaceNameChunk chunk)
-
getDataChunk
public PlaceNameLayer.PlaceNameChunk getDataChunk()
-
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 interfaceCacheable
- Returns:
- this
Cacheable
object's size in bytes
-
getHashInt
public java.lang.Integer getHashInt()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
getFileCachePath
public java.lang.String getFileCachePath()
-
getPlaceNameService
public PlaceNameService getPlaceNameService()
-
getRequestURL
public java.net.URL getRequestURL() throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
-
getSector
public Sector getSector()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
isTileInMemoryWithData
protected boolean isTileInMemoryWithData()
-
getPriority
public double getPriority()
-
setPriority
public void setPriority(double priority)
-
-