|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.element.ListStore<T>
public class ListStore<T>
This implementation stores component instances into a java.util.List.
| Constructor Summary | |
|---|---|
ListStore(java.util.List<T> list)
Create a ListStore object. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<T> |
getList()
Get the list object 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 ListStore(java.util.List<T> list)
list - the list to store component instances.| Method Detail |
|---|
public java.util.List<T> getList()
public void storeElement(int ind,
T obj)
ElementStore
storeElement in interface ElementStore<T>ind - the element index.obj - the element value.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 | |||||||||