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

    Fields
    Modifier and Type
    Field
    Description
    protected final @NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection
     
    protected final double
     

    Fields inherited from class net.buildtheearth.terracore.worldgen.dataset.Dataset

    cache
  • Constructor Summary

    Constructors
    Constructor
    Description
    TiledDataset(@NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection projection, double tileSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull net.buildtheearth.terracore.geo.projection.GeographicProjection
     
    double
     

    Methods inherited from class net.buildtheearth.terracore.worldgen.dataset.Dataset

    getAsync, load

    Methods inherited from class com.google.common.cache.CacheLoader

    asyncReloading, from, from, loadAll, reload

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()