|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.ConverterCollections
public abstract class ConverterCollections
A collection of Collection implementation classes that use the Converter interface to convert the items stored in underlying collection objects.
| Nested Class Summary | |
|---|---|
protected static class |
ConverterCollections.AbstractConverterEntryAn abstract Map Entry that lazily converts the key and value. |
static class |
ConverterCollections.ConverterCacheEventA Converter CacheEvent views an underlying CacheEvent through a set of key and value Converters. |
static class |
ConverterCollections.ConverterCacheMapA Converter CacheMap views an underlying CacheMap through a set of key and value Converters. |
static class |
ConverterCollections.ConverterCollectionA Converter Collection views an underlying Collection through a Converter. |
static class |
ConverterCollections.ConverterConcurrentMapA Converter ConcurrentMap views an underlying ConcurrentMap through a set of key and value Converters. |
static class |
ConverterCollections.ConverterEntryA Map Entry that lazily converts the key and value. |
static class |
ConverterCollections.ConverterEntrySetA Converter Entry Set views an underlying Entry Set through a set of key and value Converters. |
static class |
ConverterCollections.ConverterInvocableMapA Converter InvocableMap views an underlying InvocableMap through a set of key and value Converters. |
static class |
ConverterCollections.ConverterListA Converter List views an underlying List through a Converter. |
static class |
ConverterCollections.ConverterListIteratorA Converter ListIterator views an underlying ListIterator through a Converter. |
static class |
ConverterCollections.ConverterMapA Converter Map views an underlying Map through a set of key and value Converters. |
static class |
ConverterCollections.ConverterMapEventA ConverterMapEvent views an underlying MapEvent through a set of key and value Converters. |
static class |
ConverterCollections.ConverterMapListenerA converter MapListener that converts events of the underlying MapListener for the underlying map. |
static class |
ConverterCollections.ConverterNamedCacheA Converter NamedCache views an underlying NamedCache through a set of key and value Converters. |
static class |
ConverterCollections.ConverterObservableMapA Converter ObservableMap views an underlying ObservableMap through a set of key and value Converters. |
static class |
ConverterCollections.ConverterQueryMapA Converter QueryMap views an underlying QueryMap through a set of key and value Converters. |
static class |
ConverterCollections.ConverterSetA Converter Set views an underlying Set through a Converter. |
static class |
ConverterCollections.ConverterSortedMapA Converter SortedMap views an underlying SortedMap through a set of key and value Converters. |
static class |
ConverterCollections.ConverterSortedSetA Converter SortedSet views an underlying SortedSet through a Converter. |
| Constructor Summary | |
|---|---|
ConverterCollections() |
|
| Method Summary | |
|---|---|
static java.lang.Object[] |
convertArray(java.lang.Object[] ao, Converter conv)Convert the contents of the passed array. |
static java.lang.Object[] |
convertArray(java.lang.Object[] aoSrc, Converter conv, java.lang.Object[] aoDest)Convert the contents of the passed source array into an array with the component type of the passed destination array, using the destination array itself if it is large enough, and placing a null in the first unused element of the destination array if it is larger than the source array. |
static ConverterCollections.ConverterCacheMap |
getCacheMap(CacheMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of CacheMap. |
static ConverterCollections.ConverterCollection |
getCollection(java.util.Collection col, Converter convUp, Converter convDown)Returns an instance of Collection that uses a Converter to view an underlying Collection. |
static ConverterCollections.ConverterConcurrentMap |
getConcurrentMap(ConcurrentMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of ConcurrentMap. |
static ConverterCollections.ConverterEntry |
getEntry(java.util.Map.Entry entry, Converter convKeyUp, Converter convValUp, Converter convValDown)Returns an instance of a MapEntry that uses Converters to retrieve the Entry's data. |
static ConverterCollections.ConverterEntrySet |
getEntrySet(java.util.Collection set, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of a Set that holds Entry objects for a ConverterMap. |
static ConverterCollections.ConverterInvocableMap |
getInvocableMap(InvocableMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of InvocableMap. |
static java.util.Iterator |
getIterator(java.util.Iterator iter, Converter conv)Returns an instance of Iterator that uses a Converter to view an underlying Iterator. |
static ConverterCollections.ConverterList |
getList(java.util.List list, Converter convUp, Converter convDown)Returns a Converter instance of List. |
static ConverterCollections.ConverterListIterator |
getListIterator(java.util.ListIterator iter, Converter convUp, Converter convDown)Returns a Converter instance of ListIterator. |
static ConverterCollections.ConverterMap |
getMap(java.util.Map map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of Map. |
static MapEvent |
getMapEvent(ObservableMap map, MapEvent event, Converter convKey, Converter convVal)Returns an instance of a MapEvent that uses Converters to retrieve the event's data. |
static MapEvent |
getMapEvent(ObservableMap map, MapEvent event, Converter convKey, Converter convVal, BackingMapManagerContext context)Returns an instance of a MapEvent that uses Converters to retrieve the event's data, and additionally provides access to the BackingMapManagerContext. |
static ConverterCollections.ConverterNamedCache |
getNamedCache(NamedCache cache, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of NamedCache. |
static ConverterCollections.ConverterObservableMap |
getObservableMap(ObservableMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of ObservableMap. |
static ConverterCollections.ConverterQueryMap |
getQueryMap(QueryMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of QueryMap. |
static ConverterCollections.ConverterSet |
getSet(java.util.Set set, Converter convUp, Converter convDown)Returns an instance of Set that uses a Converter to view an underlying Set. |
static ConverterCollections.ConverterSortedMap |
getSortedMap(java.util.SortedMap map, Converter convKeyUp, Converter convKeyDown, Converter convValUp, Converter convValDown)Returns a Converter instance of SortedMap. |
static ConverterCollections.ConverterSortedSet |
getSortedSet(java.util.SortedSet set, Converter convUp, Converter convDown)Returns an instance of SortedSet that uses a Converter to view an underlying SortedSet. |
| Constructor Detail |
|---|
public ConverterCollections()
| Method Detail |
|---|
public static java.util.Iterator getIterator(java.util.Iterator iter,
Converter conv)
iter - the underlying Iteratorconv - the Converter to view the underlying Iterator through
public static ConverterCollections.ConverterCollection getCollection(java.util.Collection col,
Converter convUp,
Converter convDown)
col - the underlying CollectionconvUp - the Converter to view the underlying Collection throughconvDown - the Converter to pass items down to the underlying Collection through
public static ConverterCollections.ConverterSet getSet(java.util.Set set,
Converter convUp,
Converter convDown)
set - the underlying SetconvUp - the Converter to view the underlying Set throughconvDown - the Converter to pass items down to the underlying Set through
public static ConverterCollections.ConverterSortedSet getSortedSet(java.util.SortedSet set,
Converter convUp,
Converter convDown)
set - the underlying SortedSetconvUp - the Converter to view the underlying SortedSet throughconvDown - the Converter to pass items down to the underlying SortedSet through
public static ConverterCollections.ConverterList getList(java.util.List list,
Converter convUp,
Converter convDown)
list - the underlying ListconvUp - the Converter to view the underlying List throughconvDown - the Converter to pass items down to the underlying List through
public static ConverterCollections.ConverterListIterator getListIterator(java.util.ListIterator iter,
Converter convUp,
Converter convDown)
iter - the underlying ListIteratorconvUp - the Converter to view the underlying ListIterator throughconvDown - the Converter to pass items down to the underlying ListIterator through
public static ConverterCollections.ConverterMap getMap(java.util.Map map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
map - the underlying MapconvKeyUp - the Converter to view the underlying Map's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying MapconvValUp - the Converter to view the underlying Map's values throughconvValDown - the Converter to use to pass values down to the underlying Map
public static ConverterCollections.ConverterSortedMap getSortedMap(java.util.SortedMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
map - the underlying SortedMapconvKeyUp - the Converter to view the underlying SortedMap's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying SortedMapconvValUp - the Converter to view the underlying SortedMap's values throughconvValDown - the Converter to use to pass values down to the underlying SortedMap
public static ConverterCollections.ConverterConcurrentMap getConcurrentMap(ConcurrentMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
map - the underlying ConcurrentMapconvKeyUp - the Converter to view the underlying ConcurrentMap's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying ConcurrentMapconvValUp - the Converter to view the underlying ConcurrentMap's values throughconvValDown - the Converter to use to pass values down to the underlying ConcurrentMap
public static ConverterCollections.ConverterInvocableMap getInvocableMap(InvocableMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
map - the underlying InvocableMapconvKeyUp - the Converter to view the underlying InvocableMap's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying InvocableMapconvValUp - the Converter to view the underlying InvocableMap's values throughconvValDown - the Converter to use to pass values down to the underlying InvocableMap
public static ConverterCollections.ConverterObservableMap getObservableMap(ObservableMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
map - the underlying ObservableMapconvKeyUp - the Converter to view the underlying ObservableMap's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying ObservableMapconvValUp - the Converter to view the underlying ObservableMap's values throughconvValDown - the Converter to use to pass values down to the underlying ObservableMap
public static ConverterCollections.ConverterQueryMap getQueryMap(QueryMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
map - the underlying QueryMapconvKeyUp - the Converter to view the underlying QueryMap's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying QueryMapconvValUp - the Converter to view the underlying QueryMap's values throughconvValDown - the Converter to use to pass values down to the underlying QueryMap
public static ConverterCollections.ConverterCacheMap getCacheMap(CacheMap map,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
map - the underlying CacheMapconvKeyUp - the Converter to view the underlying CacheMap's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying CacheMapconvValUp - the Converter to view the underlying CacheMap's values throughconvValDown - the Converter to use to pass values down to the underlying CacheMap
public static ConverterCollections.ConverterNamedCache getNamedCache(NamedCache cache,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
cache - the underlying NamedCacheconvKeyUp - the Converter to view the underlying NamedCache's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying NamedCacheconvValUp - the Converter to view the underlying NamedCache's values throughconvValDown - the Converter to use to pass values down to the underlying NamedCache
public static ConverterCollections.ConverterEntrySet getEntrySet(java.util.Collection set,
Converter convKeyUp,
Converter convKeyDown,
Converter convValUp,
Converter convValDown)
set - the underlying Entry Set (or Collection of Map Entry objects)convKeyUp - the Converter to view the underlying Entry Set's keys throughconvKeyDown - the Converter to use to pass keys down to the underlying Entry SetconvValUp - the Converter to view the underlying Entry Set's values throughconvValDown - the Converter to use to pass values down to the underlying Entry Set
public static ConverterCollections.ConverterEntry getEntry(java.util.Map.Entry entry,
Converter convKeyUp,
Converter convValUp,
Converter convValDown)
entry - the underlying EntryconvKeyUp - the Converter to view the underlying Entry's keyconvValUp - the Converter to view the underlying Entry's valueconvValDown - the Converter to change the underlying Entry's value
public static MapEvent getMapEvent(ObservableMap map,
MapEvent event,
Converter convKey,
Converter convVal)
map - the new event's sourceevent - the underlying MapEventconvKey - the Converter to view the underlying MapEvent's keyconvVal - the Converter to view the underlying MapEvent's values
public static MapEvent getMapEvent(ObservableMap map,
MapEvent event,
Converter convKey,
Converter convVal,
BackingMapManagerContext context)
map - the new event's sourceevent - the underlying MapEventconvKey - the Converter to view the underlying MapEvent's keyconvVal - the Converter to view the underlying MapEvent's valuescontext - the BackingMapManagerContext used to deserialize the underlying values
public static java.lang.Object[] convertArray(java.lang.Object[] ao,
Converter conv)
This helper method is intended to support the functionality of Collection.toArray.
ao - an array of Objects to convertconv - the Converter to use to convert the objects
public static java.lang.Object[] convertArray(java.lang.Object[] aoSrc,
Converter conv,
java.lang.Object[] aoDest)
This helper method is intended to support the functionality of Collection.toArray.
aoSrc - an array of Objects to convertconv - the Converter to use to convert the objectsaoDest - the array to use to place the converted objects in if large enough, otherwise the array from which to obtain the component type to create a new array that is large enough
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||