Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.collections: Javadoc index of package org.apache.axis.collections.


Package Samples:

org.apache.axis.collections

Classes:

SequencedHashMap: A map of objects whose mapping entries are sequenced based on the order in which they were added. This data structure has fast O(1) search time, deletion time, and insertion time. Although this map is sequenced, it cannot implement java.util.List because of incompatible interface definitions. The remove methods in List and Map have different return values (see: List.remove(Object) > List.remove(Object) 55 and Map.remove(Object) > Map.remove(Object) 55 ). This class is not thread safe. When a thread safe implementation is required, use Collections.synchronizedMap(Map) > Collections.synchronizedMap(Map) ...
LRUMap: 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. A synchronized version can be obtained with: Collections.synchronizedMap( theMapToSynchronize ) If it will be accessed by multiple threads, you _must_ synchronize access to this Map. Even concurrent get(Object) operations produce indeterminate behaviour. Unlike the Collections 1.0 version, this version of LRUMap does use a true LRU algorithm. The keys for all gets and puts are moved to the front of the list. LRUMap is ...

Home | Contact Us | Privacy Policy | Terms of Service