pal.util
Interface DoubleKeyCache
- All Known Implementing Classes:
- DefaultCache
public interface DoubleKeyCache
- Author:
- Alexei Drummond
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
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()