| |
|
| java.lang.Object org.apache.cocoon.util.MRUBucketMap
MRUBucketMap | final public class MRUBucketMap implements Map(Code) | | A MRUBucketMap is an efficient ThreadSafe implementation of a Map with
addition of the removeLast method implementing LRU removal policy.
MRUBucketMap is based on the Avalon's BucketMap.
author: Vadim Gritsenko version: CVS $Id: MRUBucketMap.java 433543 2006-08-22 06:22:54Z crossley $ |
Inner Class :static class X | |
Constructor Summary | |
public | MRUBucketMap() Creates map with default number of buckets. | public | MRUBucketMap(int numBuckets) Creates map with specified number of buckets. |
MRUBucketMap | public MRUBucketMap()(Code) | | Creates map with default number of buckets.
|
MRUBucketMap | public MRUBucketMap(int numBuckets)(Code) | | Creates map with specified number of buckets.
|
clear | final public void clear()(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
isEmpty | final public boolean isEmpty()(Code) | | |
putAll | public void putAll(Map other)(Code) | | Add all the contents of one Map into this one.
|
size | public int size()(Code) | | Returns the current number of key, value pairs.
|
|
|
|