Class TileCacheKey

java.lang.Object
noaa.coastwatch.io.tile.TileCacheKey

public class TileCacheKey extends Object
A TileCacheKey object stores a pair of values: a tile source, and a tile position, that can be used in a TileCache to store and recall a specific tile.
Since:
3.3.1
Author:
Peter Hollemans
  • Constructor Details

    • TileCacheKey

      public TileCacheKey(TileSource source, TilingScheme.TilePosition pos)
      Creates a new cache key.
      Parameters:
      source - the source for the tiles.
      pos - the position of the tile in the scheme.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • main

      public static void main(String[] argv) throws Exception
      Tests this class.
      Parameters:
      argv - the array of command line parameters.
      Throws:
      Exception