|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-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.RestrictedCollections
public class RestrictedCollections
A collection of Collection implementation classes that limit the data type.
| Nested Class Summary | |
|---|---|
static class |
RestrictedCollections.RestrictedCollectionA restricted Collection that requires its contents to be of a specified class. |
static class |
RestrictedCollections.RestrictedEntrySetA restricted Collection that requires its contents to be of a specified class. |
static class |
RestrictedCollections.RestrictedListA restricted List that requires its contents to be of a specified class. |
static class |
RestrictedCollections.RestrictedListIteratorA restricted ListIterator that requires its contents to be of a specified class. |
static class |
RestrictedCollections.RestrictedMapA restricted Map that requires its keys and values to be of specified classes. |
static class |
RestrictedCollections.RestrictedSetA restricted Set that requires its contents to be of a specified class. |
static class |
RestrictedCollections.RestrictedSortedMapA restricted SortedMap that requires its keys and values to be of specified classes. |
static class |
RestrictedCollections.RestrictedSortedSetA restricted Set that requires its contents to be of a specified class. |
| Method Summary | |
|---|---|
static java.util.Collection |
getCollection(java.util.Collection col, java.lang.Class clz)Returns a restricted instance of Collection. |
static java.util.Set |
getEntrySet(java.util.Set set, java.lang.Class clzKey, java.lang.Class clzVal)Returns a restricted instance of Set that holds Entry objects for a RestrictedMap. |
static java.util.List |
getList(java.util.List list, java.lang.Class clz)Returns a restricted instance of List. |
static java.util.ListIterator |
getListIterator(java.util.ListIterator iter, java.lang.Class clz)Returns a restricted instance of ListIterator. |
static java.util.Map |
getMap(java.util.Map map, java.lang.Class clzKey, java.lang.Class clzVal)Returns a restricted instance of Map. |
static java.util.Set |
getSet(java.util.Set set, java.lang.Class clz)Returns a restricted instance of Set. |
static java.util.SortedMap |
getSortedMap(java.util.SortedMap map, java.lang.Class clzKey, java.lang.Class clzVal)Returns a restricted instance of SortedMap. |
static java.util.SortedSet |
getSortedSet(java.util.SortedSet set, java.lang.Class clz)Returns a restricted instance of SortedSet. |
| Method Detail |
|---|
public static java.util.Collection getCollection(java.util.Collection col,
java.lang.Class clz)
col - the underlying Collectionclz - the class of objects that may be stored in the Collection
public static java.util.Set getSet(java.util.Set set,
java.lang.Class clz)
set - the underlying Setclz - the class of objects that may be stored in the Set
public static java.util.SortedSet getSortedSet(java.util.SortedSet set,
java.lang.Class clz)
set - the underlying SortedSetclz - the class of objects that may be stored in the SortedSet
public static java.util.List getList(java.util.List list,
java.lang.Class clz)
list - the underlying Listclz - the class of objects that may be stored in the List
public static java.util.ListIterator getListIterator(java.util.ListIterator iter,
java.lang.Class clz)
iter - the underlying ListIteratorclz - the class of objects that may be stored in the List
public static java.util.Map getMap(java.util.Map map,
java.lang.Class clzKey,
java.lang.Class clzVal)
map - the underlying MapclzKey - the class of keys that may be stored in the MapclzVal - the class of values that may be stored in the Map
public static java.util.SortedMap getSortedMap(java.util.SortedMap map,
java.lang.Class clzKey,
java.lang.Class clzVal)
map - the underlying SortedMapclzKey - the class of keys that may be stored in the SortedMapclzVal - the class of values that may be stored in the SortedMap
public static java.util.Set getEntrySet(java.util.Set set,
java.lang.Class clzKey,
java.lang.Class clzVal)
set - the underlying Entry SetclzKey - the class of keys that may be stored in the MapclzVal - the class of values that may be stored in the Map
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||