|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.convert1.util.ClassMap
public class ClassMap
A map which stores objects by a key Class. When obtaining the object, it will check inheritence and interface trees to see if the Class matches.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry |
| Field Summary | |
|---|---|
protected Map |
map
Deprecated. The Map to delegate to. |
| Constructor Summary | |
|---|---|
ClassMap()
|
|
ClassMap(Inheritor inh)
|
|
| Method Summary | |
|---|---|
void |
clear()
Deprecated. Invokes the underlying Map.clear() method. |
boolean |
containsKey(Object key)
Deprecated. Invokes the underlying Map.containsKey(Object) method. |
boolean |
containsValue(Object value)
Deprecated. Invokes the underlying Map.containsValue(Object) method. |
Set |
entrySet()
Deprecated. Invokes the underlying Map.entrySet() method. |
boolean |
equals(Object m)
Deprecated. Invokes the underlying Map.equals(Object) method. |
Object |
get(Object key)
Get the object from the map. |
Inheritor |
getInheritor()
|
int |
hashCode()
Deprecated. Invokes the underlying Map.hashCode() method. |
boolean |
isEmpty()
Deprecated. Invokes the underlying Map.isEmpty() method. |
Set |
keySet()
Deprecated. Invokes the underlying Map.keySet() method. |
Object |
put(Object key,
Object value)
Deprecated. Invokes the underlying Map.put(Object,Object) method. |
void |
putAll(Map t)
Deprecated. Invokes the underlying Map.putAll(Map) method. |
Object |
remove(Object key)
Deprecated. Invokes the underlying Map.remove(Object) method. |
int |
size()
Deprecated. Invokes the underlying Map.size() method. |
Collection |
values()
Deprecated. Invokes the underlying Map.values() method. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Map map
Map to delegate to.
| Constructor Detail |
|---|
public ClassMap()
public ClassMap(Inheritor inh)
| Method Detail |
|---|
public Inheritor getInheritor()
public Object get(Object key)
get in interface Mappublic void clear()
Map.clear() method.
clear in interface Mappublic boolean containsKey(Object key)
Map.containsKey(Object) method.
containsKey in interface Mappublic boolean containsValue(Object value)
Map.containsValue(Object) method.
containsValue in interface Mappublic Set entrySet()
Map.entrySet() method.
entrySet in interface Mappublic boolean equals(Object m)
Map.equals(Object) method.
equals in interface Mapequals in class Objectpublic int hashCode()
Map.hashCode() method.
hashCode in interface MaphashCode in class Objectpublic boolean isEmpty()
Map.isEmpty() method.
isEmpty in interface Mappublic Set keySet()
Map.keySet() method.
keySet in interface Map
public Object put(Object key,
Object value)
Map.put(Object,Object) method.
put in interface Mappublic void putAll(Map t)
Map.putAll(Map) method.
putAll in interface Mappublic Object remove(Object key)
Map.remove(Object) method.
remove in interface Mappublic int size()
Map.size() method.
size in interface Mappublic Collection values()
Map.values() method.
values in interface Map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||