|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.util.Collection>
ecologylab.xml.ElementState.ClassToCollectionMap
protected class ElementState.ClassToCollectionMap
Convenience for specifying what collection to put objects of a given type into, where there is a clear mapping based on type (class).
| Constructor Summary | |
|---|---|
ElementState.ClassToCollectionMap(java.lang.Object[][] mappings)
|
|
| Method Summary | |
|---|---|
java.util.Collection |
lookup(java.lang.Class thatClass)
|
java.util.Collection |
lookup(java.lang.String className)
|
| Methods inherited from class java.util.HashMap |
|---|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public ElementState.ClassToCollectionMap(java.lang.Object[][] mappings)
| Method Detail |
|---|
public java.util.Collection lookup(java.lang.String className)
public java.util.Collection lookup(java.lang.Class thatClass)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||