diff --git a/src/helma/util/CacheMap.java b/src/helma/util/CacheMap.java index 97d52e93..f9751a73 100644 --- a/src/helma/util/CacheMap.java +++ b/src/helma/util/CacheMap.java @@ -146,7 +146,29 @@ public class CacheMap { return false; } - /// Gets the object associated with the specified key in the + /// Returns the number of keys in object array keys that + // were not found in the Map. + // Those keys that are contained in the Map are nulled out in the array. + // @param keys an array of key objects we are looking for + // @see LruHashtable#contains + public synchronized int containsKeys (Object[] keys) { + int notfound = 0; + for (int i=0; i