Package com.twelvemonkeys.util
package com.twelvemonkeys.util
-
ClassDescriptionAbstractDecoratedMap<K,
V> AbstractDecoratedMapA simple Map.Entry implementation.Abstract base class forTokenIterator
s to extend.AMap
adapter for a Java Bean.A utility class with some useful collection-related functions.DuplicateHandlerExpiringMap<K,V> Call-back inteface forMap
implementations that have mappings that may expire.Wraps (decorates) anIterator
with extra functionality, to allow element filtering.Used to tests whether or not an element fulfills certain criteria, and hence should be accepted by the FilterIterator instance.AMap
decorator that makes the mappings in the backing map case insensitive (this is implemented by converting all keys to uppercase), if the keys used areStrings
.LinkedMap<K,V> Generic map and linked list implementation of theMap
interface, with predictable iteration order.Linked list implementation ofMap.Entry
.LinkedSet<E>Generic map and linked list implementation of theSet
interface, with predictable iteration order.LRUHashMap<K,V> Map implementation with size limit, that keeps its entries in LRU (least recently used) order, also known as access-order.LRUMap<K,V> Map implementation with size limit, that keeps its entries in LRU (least recently used) order, also known as access-order.Formats the minutes part of the TimeNullMap<K,V> An (immutable) emptyMap
, that supports allMap
operations without throwing exceptions (in contrast toCollections.EMPTY_MAP
that will throw exceptions onput
/remove
).Formats the seconds part of the TimeStringTokenIterator, a drop-in replacement forStringTokenizer
.Formats text constant part of the TimeUtility class for storing times in a simple way.Format for converting and parsing time.The base class of TimeFormattersTimeoutMap<K,V> AMap
implementation that removes (expires) its elements after a given period.TokenIterator, Iterator-based replacement for StringTokenizer.Visitor<T>A generic visitor.WeakWeakMap<K,V> Special-purpose map implementation with weak keys and weak values.