textmaven.stemmer
Class Cache
java.lang.Object
java.util.AbstractMap
java.util.HashMap
java.util.LinkedHashMap
textmaven.stemmer.Cache
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class Cache
- extends java.util.LinkedHashMap
- See Also:
- Serialized Form
Constructor Summary |
Cache(int initial,
float load,
boolean access)
|
Methods inherited from class java.util.LinkedHashMap |
clear, containsValue, get |
Methods inherited from class java.util.HashMap |
clone, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
INITIAL_SIZE
public static final int INITIAL_SIZE
- See Also:
- Constant Field Values
LOAD_FACTOR
public static final float LOAD_FACTOR
- See Also:
- Constant Field Values
THRESHOLD
public static final int THRESHOLD
- See Also:
- Constant Field Values
Cache
public Cache(int initial,
float load,
boolean access)
containsKey
public final boolean containsKey(java.lang.Object key)
removeEldestEntry
protected boolean removeEldestEntry(java.util.Map.Entry eldest)
getHits
public long getHits()
getTotal
public long getTotal()
Copyright © 2002-2005 Sourceforge. All Rights Reserved.