|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.element.MapStore<K,T>
public class MapStore<K,T>
This implementation stores component instances into a java.util.Map object.
| Constructor Summary | |
|---|---|
MapStore(K[] keys,
java.util.Map<K,T> store)
Create a MapStore object. |
|
| Method Summary | |
|---|---|
void |
checkElement(int ind,
java.lang.Class type)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.Object[] |
getKeys()
Get the keys used to save component instances into map. |
java.util.Map<K,T> |
getMap()
Get the map storing the component instances. |
int |
hashCode()
|
void |
storeElement(int ind,
T obj)
Store an element. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MapStore(K[] keys,
java.util.Map<K,T> store)
keys - the keys used to save component instances into the map.store - the map object.| Method Detail |
|---|
public void storeElement(int ind,
T obj)
ElementStore
storeElement in interface ElementStore<T>ind - the element index.obj - the element value.
public void checkElement(int ind,
java.lang.Class type)
public java.lang.Object[] getKeys()
public java.util.Map<K,T> getMap()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||