|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.element.AnyArrayStore<T>
jfun.yan.element.ArrayStore<T>
public class ArrayStore<T>
This class stores component instances into an Object[] array.
| Constructor Summary | |
|---|---|
ArrayStore(T[] arr)
To create an ArrayStore object. |
|
ArrayStore(T[] arr,
int begin)
To create an ArrayStore object. |
|
ArrayStore(T[] arr,
int begin,
int end)
To create an ArrayStore object. |
|
| Method Summary | |
|---|---|
T[] |
getArray()
Get the array object to store the component instances. |
void |
storeElement(int ind,
T obj)
Store an element. |
| Methods inherited from class jfun.yan.element.AnyArrayStore |
|---|
equals, getArrayObject, getBegin, getEnd, getIndex, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayStore(T[] arr,
int begin,
int end)
arr - the array objectbegin - the begin index of the array.
Elements are stored from this index.end - the non-inclusive end index.
Elements cannot be stored at or after this index.
public ArrayStore(T[] arr,
int begin)
arr - the array objectbegin - the begin index of the array.
Elements are stored from this index.public ArrayStore(T[] arr)
arr - the array object.| Method Detail |
|---|
public T[] getArray()
public void storeElement(int ind,
T obj)
ElementStore
storeElement in interface ElementStore<T>storeElement in class AnyArrayStore<T>ind - the element index.obj - the element value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||