|
Rakesh API | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
|---|---|
| DataStructure<T> | An interface for all the datastructures implemented in this package. |
| Map<K,V> | A sub-class of java.util.Map that defines additional
methods that will be implemented by all the implementations that
are used to implement caches. |
| Map.Statistics | An interface that defines the methods that may be invoked to monitor cache usage. |
| Class Summary | |
|---|---|
| Calendar | A wrapper around java.util.GregorianCalendar. |
| Change8Crmp10 | This utility class changes all the text that are enclosed within
/ characters with \textit{<text>}. |
| DynamicCache<K,V> | A Map used to implement a dynamic cache that grows
only up to the heap space available to the process. |
| DynamicCache.Cleaner | A TimerTask that is used to schedule clearing of
mappings for garbage collected DynamicCache.Value objects. |
| FIFO<K,V> | A First Iin First Out
implementation using a LinkedHashMap. |
| JCrypt | Pure Java implementation of the UNIX crypt library. |
| LaTeXAccents | Convert ISO character entities into their equivalent 7-bit ASCII characters, or LATEX equivalents. |
| LinkedHashMap<K,V> | A sub-class of java.util.LinkedHashMap used to
implement a size controlled Map. |
| LinkedHashMap.Statistics | An implementation of LinkedHashMap.Statistics used to
track cache performance. |
| LRU<K,V> | A Least Recently Used implementation
using a LinkedHashMap. |
| ObjectCache<K,V> | A simple decorator around a LinkedHashMap and DynamicCache that can be used to cache object
instances. |
| PasswordGenerator | A utility class that can be used to generate secure random password values. |
| SharedObject<T> | A decorator around a Map that can be used to
share object instances. |
| SimpleFIFO<T> | A First In First Out
implementation using an array. |
| SimpleLRU<T> | A Least Recently Used implementation
using an array and a Map. |
| StringUtilities | Provides utility methods to return String objects
from commonly used resources. |
Utility classes developed for miscellaneous purposes. Some interesting classes in this package are:
Calendar A calendar, which
automatically changes the underlying time when setting/changing
the TimeZone.
ObjectCache A cache that supports
size controlled LRU and FIFO implementations using the
LinkedHashMap, or dynamic
SoftReference based cache built around a
ConcurrentHashMap.
SharedObject A wrapper around a
Map that can be used to share equivalent object
instances. When the map becomes full, old objects are removed
and new ones added in accordance with a LRU policy. Similar
to ObjectCache, the cache size can be fixed or left dynamic.
Download the package here.
|
Rakesh API | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||