Package pal.util

Interface DoubleKeyCache

  • All Known Implementing Classes:
    DefaultCache

    public interface DoubleKeyCache
    Author:
    Alexei Drummond
    • Method Detail

      • getNearest

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

        void addDoubleKey​(double relatedKey,
                          java.lang.Object value)
      • clearCache

        void clearCache()
      • clone

        java.lang.Object clone()