C G L O P R S W

C

containsKey(Object) - Method in class org.enhydra.shark.utilities.LRUMap
Returns true if this LRUCache contains a mapping for the specified key.

G

get(Object) - Method in class org.enhydra.shark.utilities.LRUMap
Returns the value to which the specified key is mapped in this LRUCache, or null if the map contains no mapping for this key.
getMaximumSize() - Method in class org.enhydra.shark.utilities.LRUMap
Getter for property maximumSize.
getMaximumSize() - Method in class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 

L

LRUMap - Class in org.enhydra.shark.utilities
An implementation of a Map which has a maximum size and uses a Least Recently Used algorithm to remove items from the Map when the maximum size is reached and new items are added.
LRUMap() - Constructor for class org.enhydra.shark.utilities.LRUMap
Default constructor, primarily for the purpose of de-externalization.
LRUMap(int) - Constructor for class org.enhydra.shark.utilities.LRUMap
Creates a new LRUMap with a maximum capacity of maxSize and with a default capacity (16) and load factor (0.75).
LRUMap(int, float) - Constructor for class org.enhydra.shark.utilities.LRUMap
Create a new LRUCache with a default maximum capacity (0) and with the capacity initialCapacity and load factor loadFactor.
LRUMap(int, float, int) - Constructor for class org.enhydra.shark.utilities.LRUMap
Create a new LRUCache with a maximum capacity of maxSize and with the capacity initialCapacity and load factor loadFactor.
LRUMap(Map) - Constructor for class org.enhydra.shark.utilities.LRUMap
Create a new LRUCache with the same mappings as the specified map m.
LRUMap(Map, int) - Constructor for class org.enhydra.shark.utilities.LRUMap
Create a new LRUCache with the same mappings as the specified map m.

O

org.enhydra.shark.utilities - package org.enhydra.shark.utilities
 

P

processRemovedLRU(Object, Object) - Method in class org.enhydra.shark.utilities.LRUMap
Subclasses of LRUCache may hook into this method to provide specialized actions whenever an Object is automatically removed from the cache.
put(Object, Object) - Method in class org.enhydra.shark.utilities.LRUMap
Associates the specified value with the specified key in this LRUCache.
put(Object, Object) - Method in class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 
putAll(Map) - Method in class org.enhydra.shark.utilities.LRUMap
Adds all the mappings in the specified map to this map, replacing any mappings that already exist (as per Map.putAll(Map)).
putAll(Map) - Method in class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 

R

readExternal(ObjectInput) - Method in class org.enhydra.shark.utilities.LRUMap
 
remove(Object) - Method in class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 
removeLRU() - Method in class org.enhydra.shark.utilities.LRUMap
This method is used internally by the class for finding and removing the LRU Object.

S

setMaximumSize(int) - Method in class org.enhydra.shark.utilities.LRUMap
Setter for property maximumSize.
SizeLimitedToolAgentMap - Class in org.enhydra.shark.utilities
 
SizeLimitedToolAgentMap() - Constructor for class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 
SizeLimitedToolAgentMap(int) - Constructor for class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 
SizeLimitedToolAgentMap(int, float) - Constructor for class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 
SizeLimitedToolAgentMap(int, float, int) - Constructor for class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 
SizeLimitedToolAgentMap(Map) - Constructor for class org.enhydra.shark.utilities.SizeLimitedToolAgentMap
 

W

writeExternal(ObjectOutput) - Method in class org.enhydra.shark.utilities.LRUMap
 

C G L O P R S W