|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.magicproject.action.context.ObjectArray<T>
T - the object type encapsulted in this context.public class ObjectArray<T>
| Constructor Summary | |
|---|---|
ObjectArray(int size)
Create a new context with a new object array |
|
| Method Summary | |
|---|---|
T |
getObject(int index)
Return a object value of this context. |
java.util.Iterator<T> |
iterator()
|
void |
setObject(int index,
T b)
Set an object value of this context. |
int |
size()
Return amount of objects. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectArray(int size)
size - the array's size of this context.| Method Detail |
|---|
public T getObject(int index)
index - the object index to be returned
public void setObject(int index,
T b)
index - the object index to be setb - the object to setpublic int size()
public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||