|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Indexed
Index-access to an instance of this interface is interpreted as the set/get method call, which are defined in the implementation class.
indexed[idx] ==> indexed.get(idx) indexed[idx] = value ==> indexed.set(idx, value)
| Method Summary | |
|---|---|
java.lang.Object |
get(int idx)
Read access to the index |
void |
set(int idx,
java.lang.Object value)
Write access to the index |
| Method Detail |
|---|
void set(int idx,
java.lang.Object value)
idx - the indexvalue - the object to be assignedjava.lang.Object get(int idx)
idx - the index
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||