CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

Package com.tangosol.util

Contains various generic utilities.

See:
          Description

Interface Summary
AnyListener An AnyEvent is an event used when no specific event implementation fits and it is not worth making one.
ConcurrentMap Map with additional concurrency features.
Controllable Controllable interface represents a Daemon like object, quite oftenly referred to as a service that usually operates on its own thread and has a controllable life cycle.
Converter Provide for "pluggable" object conversions.
Filter Provide for "pluggable" conditional behavior.
InvocableMap An InvocableMap is a Map against which both entry-targeted processing and aggregating operations can be invoked.
InvocableMap.Entry An InvocableMap.Entry contains additional information and exposes additional operations that the basic Map.Entry does not.
InvocableMap.EntryAggregator An EntryAggregator represents processing that can be directed to occur against some subset of the entries in an InvocableMap, resulting in a aggregated result.
InvocableMap.EntryProcessor An invocable agent that operates against the Entry objects within a Map.
InvocableMap.ParallelAwareAggregator A ParallelAwareAggregator is an advanced extension to EntryAggregator that is explicitly capable of being run in parallel, for example in a distributed environment.
LongArray An interface, similar in its methods to List, and similar in its purpose to a Java array, designed for sparse storage and indexed by long values.
LongArray.Iterator An Iterator that adds a "current element" concept, similar to the Map.Entry interface.
MapIndex MapIndex is used to correlate values stored in an indexed Map (or attributes of those values) to the corresponding keys in the indexed Map.
MapListener The listener interface for receiving MapEvents.
MapListenerSupport.SynchronousListener A tag interface indicating that tagged MapListener implementation has to receive the MapEvent notifications in a synchronous manner.
ObservableMap ObservableMap interface represents an object with a model being a Map that allows for pluggable notifications for occuring changes.
QueryMap Map with additional query features.
QueryMap.Entry A QueryMap Entry exposes additional index-related operation that the basic Map Entry does not.
ThreadFactory Factory interface for Thread creation.
TransactionMap ConcurrentMap with additional transaction support.
TransactionMap.Validator A callback interface used by TransactionMap implementations.
ValueExtractor ValueExtractor is used to both extract values (for example, for sorting or filtering) from an object, and to provide an identity for that extraction.
ValueManipulator ValueManipulator represents a composition of ValueExtractor and ValueUpdater implementations.
ValueUpdater ValueUpdater is used to update an object's state.
Versionable An interface for versionable data.
 

Class Summary
AbstractKeyBasedMap AbstractKeyBasedMap is a base class for Map implementations.
AbstractKeySetBasedMap AbstractKeySetBasedMap is an extension to the AbstractKeyBasedMap that has a full awareness of the set of keys upon which the Map is based.
AbstractLongArray An implementation of portions of the LongArray interface.
AbstractMapListener A base class that simplifies the implementation of a MapListener, particularly inner classes that only implement one or two of the three event methods.
AbstractStableIterator An abstract Iterator implementation that is stable between the AbstractStableIterator.hasNext() and AbstractStableIterator.next() methods, and between the AbstractStableIterator.next() and AbstractStableIterator.remove() methods.
AnyEvent An AnyEvent is an event used when no specific event implementation fits and it is not worth making one.
AtomicCounter Abstract base class for AtomicCounters.
Base Base class for providing standard functionality.
Binary A thread-safe immutable binary object.
BinaryWriteBuffer a WriteBuffer implementation whose primary purpose is to be used to create Binary objects.
BitHelper A collection of methods for bit-based operations.
CacheCollator Implements a collator which caches its keys.
ChainedEnumerator Provide an enumerator which enumerates the contents of multiple enumerators.
ChainedMap Chains two maps into one virtual map.
ClassFilter Filter which discards all objects that are not of a certain class.
ClassHelper This abstract class contains dynamic (reflect-based) class, method, and field manipulation methods.
CollectionHelper This abstract class contains helper functions for manipulating collections and enumerations.
ConverterCollections A collection of Collection implementation classes that use the Converter interface to convert the items stored in underlying collection objects.
ConverterCollections.AbstractConverterEntry An abstract Map Entry that lazily converts the key and value.
ConverterCollections.ConverterCacheEvent A Converter CacheEvent views an underlying CacheEvent through a set of key and value Converters.
ConverterCollections.ConverterCollection A Converter Collection views an underlying Collection through a Converter.
ConverterCollections.ConverterEntry A Map Entry that lazily converts the key and value.
ConverterCollections.ConverterEntrySet A Converter Entry Set views an underlying Entry Set through a set of key and value Converters.
ConverterCollections.ConverterList A Converter List views an underlying List through a Converter.
ConverterCollections.ConverterListIterator A Converter ListIterator views an underlying ListIterator through a Converter.
ConverterCollections.ConverterMap A Converter Map views an underlying Map through a set of key and value Converters.
ConverterCollections.ConverterMapEvent A Converter MapEvent views an underlying MapEvent through a set of key and value Converters.
ConverterCollections.ConverterMapListener A converter MapListener that converts events of the underlying MapListener for the underlying map.
ConverterCollections.ConverterObservableMap A Converter ObservableMap views an underlying ObservableMap through a set of key and value Converters.
ConverterCollections.ConverterSet A Converter Set views an underlying Set through a Converter.
ConverterCollections.ConverterSortedMap A Converter SortedMap views an underlying SortedMap through a set of key and value Converters.
ConverterCollections.ConverterSortedSet A Converter SortedSet views an underlying SortedSet through a Converter.
ConverterEnumerator Provide an implementation of an enumerator which converts each of the items which it enumerates.
Daemon A abstract Daemon thread handler.
DeltaSet Implements a set which is based on another set, which is assumed to be immutable.
Dequeue Represents a double-ended queue (dequeue) of objects.
EnumerationIterator Provide a implementation of an Iterator based on data from an Enumeration.
ExternalizableHelper Helpers for the Serializable, Externalizable and the ExternalizableLite interface.
FilterEnumerator Provide a generic implementation of an enumerator which can enumerate items based on an inclusion test.
HashHelper This abstract class contains helper functions for calculating hash code values for any group of java intrinsics.
ImmutableArrayList Implementation of the Collection Framework interface "List" in a read- only fashion on top of an array data structure.
InvocableMapHelper Helper methods for InvocableMap implementations and Filter related evaluation.
InvocableMapHelper.SimpleEntry Simple implementation of the InvocableMap.Entry interface.
IteratorEnumerator Provide a implementation of an enumerator based on data from an Iterator.
Listeners Provide a simple, efficient, and thread-safe implementation of a list of event listeners.
ListMap As of Coherence 3.2, the ListMap simply extends Java's own LinkedHashMap, which became available in JDK 1.4.
LiteMap An implementation of java.util.Map that is optimal (in terms of both size and speed) for very small sets of data but still works excellently with large sets of data.
LiteMap.EntryIterator A simple Iterator for LiteMap Entry objects.
LiteSet An implementation of java.util.Set that is optimal (in terms of both size and speed) for very small sets of data but still works excellently with large sets of data.
MapEvent An event which indicates that the content of a map has changed: an entry has been added an entry has been removed an entry has been changed A MapEvent object is sent as an argument to the MapListener interface methods.
MapListenerSupport This class provides support for advanced MapListener functionality.
MapListenerSupport.FilterEvent An extension of the CacheEvent which may carry no values (old or new), but instead holds on an array of Filter objects being the "cause" of the event.
MapListenerSupport.WrapperSynchronousListener A wrapper class that turns the specified MapListener into a synchronous listener.
MapSet An ExternalizableLite implementation of java.util.Set that uses an underlying Map object to store its data in, just as the Java HashSet implementation uses an underlying HashMap for its element storage.
MultiplexingMapListener A base class that simplifies the implementation of a MapListener by multiplexing all events into a single listener method.
NullFilter Filter which discards null references.
NullImplementation A collection of classes that do nothing.
NullImplementation.NullConverter A Converter that does nothing.
NullImplementation.NullEnumerator An empty enumerator.
NullImplementation.NullFlatRegistry A FlatRegistry that contains nothing.
NullImplementation.NullMap A Map that contains nothing and does nothing.
NullImplementation.NullObservableMap An immutable ObservableMap which contains nothing.
NullImplementation.NullOutputStream An OutputStream that does basically nothing.
NullImplementation.NullPofContext An implementation of PofContext that does nothing.
NullImplementation.NullPofHandler An implementation of PofHandler that does nothing.
NullImplementation.NullSet An immutable set which contains nothing.
NullImplementation.NullValueExtractor A ValueExtractor that always results in the passed-in value.
NullImplementation.NullWriter A writer that does basically nothing.
ObservableHashMap An ObservableMap implementation that extends the SafeHashMap.
RecyclingLinkedList Extends SafeLinkedList and adds recycling of Node objects.
RestrictedCollections A collection of Collection implementation classes that limit the data type.
RestrictedCollections.RestrictedCollection A restricted Collection that requires its contents to be of a specified class.
RestrictedCollections.RestrictedEntrySet A restricted Collection that requires its contents to be of a specified class.
RestrictedCollections.RestrictedList A restricted List that requires its contents to be of a specified class.
RestrictedCollections.RestrictedListIterator A restricted ListIterator that requires its contents to be of a specified class.
RestrictedCollections.RestrictedMap A restricted Map that requires its keys and values to be of specified classes.
RestrictedCollections.RestrictedSet A restricted Set that requires its contents to be of a specified class.
RestrictedCollections.RestrictedSortedMap A restricted SortedMap that requires its keys and values to be of specified classes.
RestrictedCollections.RestrictedSortedSet A restricted Set that requires its contents to be of a specified class.
SafeHashMap An implementation of java.util.Map that is synchronized, but minimally so.
SafeHashMap.Entry A map entry (key-value pair).
SafeHashSet An implementation of java.util.Set that is synchronized, but minimally so.
SafeLinkedList Implementation of the Collection Framework interface "List" using a linked list algorithm.
SafeLinkedList.Node A Node in the List.
SimpleEnumerator Provide a generic implementation of an array enumerator.
SimpleLongArray An implementation of LongArray that stores values in an array, thus is actually an "IntArray".
SimpleMapEntry A map entry (key-value pair).
SimpleStack A LIFO (last in, first out) unbounded stack of objects.
SortedEnumerator Sorts the contents of the passed enumerator then enumerates those contents.
SparseArray A data structure resembling an array keyed by Java long values.
SparseArray.Node A red/black tree node.
StringTable Like a hash table, but built specifically for strings.
SubSet Implements a set which is based on another set, which is assumed to be immutable.
TaskDaemon A Daemon thread handler that asynchronously executes Runnable tasks, either at a scheduled time or "as soon as possible".
ThreadGate Use this class in cases that large numbers of threads can operate concurrently with an additional requirement that all threads be blocked for certain operations.
ThreadGate.ThreadLocalCounter Specialization of ThreadLocalObject that can be used for efficient thread local long counters.
ThreadLocalObject This class provides an implementation of thread local storage.
Tree A red/black tree is a combination of a 2-3-4 B-tree and binary search tree.
Tree.Crawler A red/black tree node iterator.
Tree.Node A red/black tree node.
UID A UID is a 128-bit identifier that is almost guaranteed to be unique.
UUID A UUID is a 256-bit identifier that, if it is generated, is statistically guaranteed to be unique.
WrapperConcurrentMap A simple implementation of ConcurrentMap interface built as a wrapper around any Map implementation.
WrapperConcurrentMap.Lock A lock object.
WrapperObservableMap A simple implementation of ObservableMap interface built as a wrapper around any Map implementation.
 

Exception Summary
AssertionException An AssertionException is thrown when an assertion fails.
WrapperException A WrapperException wraps a Throwable object as a RuntimeException.
 

Package com.tangosol.util Description

Contains various generic utilities.


CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation