Package pal.util

Interface DoubleKeyCache

All Known Implementing Classes:
DefaultCache

public interface DoubleKeyCache
Author:
Alexei Drummond
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDoubleKey(double relatedKey, Object value)
     
    void
     
     
    getNearest(double targetKey, double tolerance)
    retrieves the object with the key nearest to given value
  • Method Details

    • getNearest

      Object getNearest(double targetKey, double tolerance)
      retrieves the object with the key nearest to given value
    • addDoubleKey

      void addDoubleKey(double relatedKey, Object value)
    • clearCache

      void clearCache()
    • clone

      Object clone()