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 intcolumnprotected PlaceNameLayer.PlaceNameChunkdataChunkprotected doubleextentVerticalExaggerationprotected java.lang.StringfileCachePathprotected PlaceNameServiceplaceNameServiceprotected doublepriorityprotected introwprotected Sectorsector
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)PlaceNameLayer.PlaceNameChunkgetDataChunk()java.lang.StringgetFileCachePath()java.lang.IntegergetHashInt()PlaceNameServicegetPlaceNameService()doublegetPriority()java.net.URLgetRequestURL()SectorgetSector()longgetSizeInBytes()Retrieves the approximate size of this object in bytes.inthashCode()protected booleanisTileInMemoryWithData()voidsetDataChunk(PlaceNameLayer.PlaceNameChunk chunk)voidsetPriority(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:CacheableRetrieves 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:
getSizeInBytesin interfaceCacheable- Returns:
- this
Cacheableobject's size in bytes
-
getHashInt
public java.lang.Integer getHashInt()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin 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:
hashCodein classjava.lang.Object
-
isTileInMemoryWithData
protected boolean isTileInMemoryWithData()
-
getPriority
public double getPriority()
-
setPriority
public void setPriority(double priority)
-
-