|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.util.TypeMap<K,V>
public class TypeMap<K,V>
A map from a type and all its subtypes to a value.
| Constructor Summary | |
|---|---|
TypeMap()
Creates a type map in which the keys match both subclasses and subinterfaces. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the map. |
boolean |
containsKey(java.lang.Class<? extends K> key)
Gets the value corresponding to a type key, or null if none. |
V |
get(java.lang.Class<? extends K> key)
Gets the value corresponding to a type, or null if none. |
boolean |
isEmpty()
Gets whether the map has any entries. |
java.util.Set<java.lang.Class<? extends K>> |
keySet()
|
V |
put(java.lang.Class<? extends K> key,
V value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeMap()
| Method Detail |
|---|
public void clear()
public boolean isEmpty()
public boolean containsKey(java.lang.Class<? extends K> key)
public V get(java.lang.Class<? extends K> key)
public V put(java.lang.Class<? extends K> key,
V value)
public java.util.Set<java.lang.Class<? extends K>> keySet()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||