Class TiledDataset<V>
java.lang.Object
com.google.common.cache.CacheLoader<net.buildtheearth.terracore.geo.TileLocation,CompletableFuture<V>>
net.buildtheearth.terracore.worldgen.dataset.Dataset<net.buildtheearth.terracore.geo.TileLocation,V>
net.buildtheearth.terracore.worldgen.dataset.TiledDataset<V>
- All Implemented Interfaces:
IDataset<net.buildtheearth.terracore.geo.TileLocation,V>
- Direct Known Subclasses:
TiledGeoJsonDataset,TiledHttpDataset,VectorTiledDataset
public abstract class TiledDataset<V>
extends Dataset<net.buildtheearth.terracore.geo.TileLocation,V>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException, com.google.common.cache.CacheLoader.UnsupportedLoadingOperationException -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final @NonNull net.buildtheearth.terracore.geo.projection.GeographicProjectionprotected final double -
Constructor Summary
ConstructorsConstructorDescriptionTiledDataset(@NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection projection, double tileSize) -
Method Summary
Modifier and TypeMethodDescription@NonNull net.buildtheearth.terracore.geo.projection.GeographicProjectiondoubletileSize()Methods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
-
Field Details
-
projection
@NonNull protected final @NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection projection -
tileSize
protected final double tileSize
-
-
Constructor Details
-
TiledDataset
public TiledDataset(@NonNull @NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection projection, double tileSize)
-
-
Method Details
-
projection
@NonNull public @NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection projection() -
tileSize
public double tileSize()
-