pal.util
Interface DoubleKeyCache
- All Known Implementing Classes:
- DefaultCache
- public interface DoubleKeyCache
Method Summary |
void |
addDoubleKey(double relatedKey,
java.lang.Object value)
|
void |
clearCache()
|
java.lang.Object |
clone()
|
java.lang.Object |
getNearest(double targetKey,
double tolerance)
retrieves the object with the key nearest to given value |
getNearest
public java.lang.Object getNearest(double targetKey,
double tolerance)
- retrieves the object with the key nearest to given value
addDoubleKey
public void addDoubleKey(double relatedKey,
java.lang.Object value)
clearCache
public void clearCache()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object