Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## 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.
BinaryEntry | Map.Entry that internally stores both key and value in a Binary format and uses an underlying Serializer to convert it to and from an Object view.
ConcurrentMap | Map with additional concurrency features.
Controllable | The Controllable interface represents a configurable daemon-like object, quite often 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.
MapEventTransformer | MapEventTransformer interface is used to allow an event consumer to change the content of a `MapEvent` destined for the corresponding `MapListener`.
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.
MapTrigger | MapTrigger represents a functional agent that allows to validate, reject or modify mutating operations against an underlying map.
MapTrigger.Entry | A MapTrigger Entry represents a pending change to an Entry that is about to committed to the underlying Map.
ObservableMap | ObservableMap interface represents an object with a model being a Map that allows for pluggable notifications for occuring changes.
PagedIterator.Advancer | Advancer is a pluggable component that knows how to load a new page (Collection) of objects to be used by the enclosing PagedIterator.
QueryMap | Map with additional query features.
QueryMap.Entry | A QueryMap Entry exposes additional index-related operation that the basic Map Entry does not.
SegmentedHashMap.EntryAction | An EntryAction encapsulates a logical action to be executed in the context of a key (that may or may not exist in the map).
SegmentedHashMap.IterableEntryAction | IterableEntryAction is an EntryAction that is suitable for applying to all keys in a map.
Service | A Service is a Controllable that emits service lifecycle events.
ServiceListener | The listener interface for receiving ServiceEvents.
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.
AbstractSparseArray | A data structure resembling an array indexed by long values, stored as an AVL tree.
AbstractSparseArray.Node | An AVL tree node.
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.
CircularArrayList | Resizable-array implementation of the `List` interface.
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.
CompositeKey | Key class that consists of a primary and secondary component.
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.ConverterCacheMap | A Converter CacheMap views an underlying CacheMap through a set of key and value Converters.
ConverterCollections.ConverterCollection | A Converter Collection views an underlying Collection through a Converter.
ConverterCollections.ConverterConcurrentMap | A Converter ConcurrentMap views an underlying ConcurrentMap through a set of key and value Converters.
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.ConverterInvocableMap | A Converter InvocableMap views an underlying InvocableMap 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.ConverterNamedCache | A Converter NamedCache views an underlying NamedCache through a set of key and value Converters.
ConverterCollections.ConverterObservableMap | A Converter ObservableMap views an underlying ObservableMap through a set of key and value Converters.
ConverterCollections.ConverterQueryMap | A Converter QueryMap views an underlying QueryMap 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.
ImmutableMultiList | Implementation of the List interface in a read-only fashion based on a collection of arrays.
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.
MapTriggerListener | MapTriggerListener is a special purpose MapListener implementation that is used to register a `MapTrigger` on a corresponding ObservableMap.
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.NullBackingMapManagerContext | An implementation of BackingMapManagerContext that does nothing.
NullImplementation.NullConverter | A Converter that does nothing.
NullImplementation.NullDeltaCompressor | An implementation of a DeltaCompressor that does nothing and always returns the new stream.
NullImplementation.NullEntryProcessor | An implementation of an EntryProcessor that does nothing and returns Boolean.TRUE as a result of execution.
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.
PagedIterator | PagedIterator is an Iterator implementation based on a concept of a page Advancer - a pluggable component that knows how to supply a next page of objects to iterate through.
PrimitiveSparseArray | A data structure resembling a long array indexed by long values.
PrimitiveSparseArray.PrimitiveNode | Node mapping long key to Object value.
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.
SafeClock | SafeClock maintains a "safe" time in milliseconds.
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.
SafeSortedMap | SafeSortedMap is an implementation of `SortedMap` based on a skip-list that is structurally thread-safe.
SegmentedConcurrentMap | An implementation of SegmentedHashMap that also implements the ConcurrentMap interface.
SegmentedConcurrentMap.SizeAction | Action support for size().
SegmentedHashMap | An implementation of java.util.Map that is optimized for heavy concurrent use.
SegmentedHashMap.ContainsValueAction | Action support for containsValue().
SegmentedHashMap.Entry | A map entry (key-value pair).
SegmentedHashMap.EntryActionAdapter | EntryActionAdapter is a convenience class that provides default implementations for the EntryAction and IterableEntryAction interface methods.
SegmentedHashMap.Segment | Segment metadata.
SegmentedHashSet | An implementation of java.util.Set that is optimized for heavy concurrent use.
ServiceEvent | An event which indicates that a Service state has changed: a service is starting a service has started a service is stopping a service has stopped A ServiceEvent object is sent as an argument to the ServiceListener interface methods.
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).
SimpleMapIndex | SimpleMapIndex is a MapIndex implemenation used to correlate property values extracted from resource map entries with corresponding keys using what is commonly known as an Inverted Index algorithm..
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 Object array indexed by long values.
SparseArray.ObjectNode | Node mapping long key to Object value.
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 thread-safe balanced binary search tree.
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.

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2000, 2010, Oracle. All rights reserved.