/** * check if the cache contains the item at the key * @param key lookup key * @returns true if there is an item stored at the key; false if not. */ public boolean contains(Object key) { return (get(key) != null); }
/** * check if the cache contains the item at the key * @param key lookup key * @returns true if there is an item stored at the key; false if not. */ public boolean contains(Object key) { return (get(key) != null); }
/** * check if the cache contains the item at the key * @param key lookup key * @returns true if there is an item stored at the key; false if not. */ public boolean contains(Object key) { return (get(key) != null); }
/** * check if the cache contains the item at the key * @param key lookup key * @returns true if there is an item stored at the key; false if not. */ public boolean contains(Object key) { return (get(key) != null); }
/** * get the item stored at the key. * @param key lookup key * @returns the item stored at the key; null if not found. */ public Object get(Object key) { int hashCode = hash(key); return get(hashCode, key); }
/** * get the item stored at the key. * @param key lookup key * @returns the item stored at the key; null if not found. */ public Object get(Object key) { int hashCode = hash(key); return get(hashCode, key); }
/** * get the item stored at the key. * @param key lookup key * @returns the item stored at the key; null if not found. */ public Object get(Object key) { int hashCode = hash(key); return get(hashCode, key); }
/** * get the item stored at the key. * @param key lookup key * @returns the item stored at the key; null if not found. */ public Object get(Object key) { int hashCode = hash(key); return get(hashCode, key); }