Class TiledDataset<V>

java.lang.Object
com.google.common.cache.CacheLoader<ChunkPos,CompletableFuture<V>>
net.buildtheearth.terraminusminus.dataset.Dataset<ChunkPos,V>
net.buildtheearth.terraminusminus.dataset.TiledDataset<V>
All Implemented Interfaces:
IDataset<ChunkPos,V>
Direct Known Subclasses:
TiledGeoJsonDataset, TiledHttpDataset, VectorTiledDataset

public abstract class TiledDataset<V> extends Dataset<ChunkPos,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 GeographicProjection
     
    protected final double
     

    Fields inherited from class net.buildtheearth.terraminusminus.dataset.Dataset

    cache
  • Constructor Summary

    Constructors
    Constructor
    Description
    TiledDataset(@NonNull GeographicProjection projection, double tileSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    double
     

    Methods inherited from class net.buildtheearth.terraminusminus.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 GeographicProjection projection
    • tileSize

      protected final double tileSize
  • Constructor Details

    • TiledDataset

      public TiledDataset(@NonNull @NonNull GeographicProjection projection, double tileSize)
  • Method Details

    • projection

      @NonNull public @NonNull GeographicProjection projection()
    • tileSize

      public double tileSize()