? DEMReader.CacheEntry

java.lang.Object
mccombe.terrain.DEMReader.CacheEntry
???:
DEMReader

protected class DEMReader.CacheEntry extends Object
CacheEntry -- A class used to store a row of values
  • ???????

    • CacheEntry

      public CacheEntry(String name, int[] buffer)
      Create a CacheEntry object which contains a named row of the current tile.
      ??:
      name - The name of the row in the form # e.g. "NASADEM_HGT_N51W003#1034"
      buffer - an integer buffer of length recordlength() containing the heights for the specified row.
  • ??????

    • setLastUsed

      public void setLastUsed()
    • getName

      public String getName()
      getName() Get the name of the CacheEntry
      ??:
      String the name of this CacheEntry
    • getValue

      public int getValue(int i)
      ??:
      i - int the index value of the item in the row to fetch
      ??:
      int the value of the specified element
    • lastUsed

      public long lastUsed()
      Find when this CacheEntry was last referenced
      ??:
      long the cycle number when the entry was last referenced