|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Enumeratable<E extends Enumeratable<E>>
Defines the requirements for an enumeratable object, i.e. an object which allows to enumerate over its children (e.g. a node in a tree).
Method Summary | |
---|---|
E |
getChild(int i)
Returns the child at the specified index. |
int |
numChildren()
Returns the number of children. |
Method Detail |
---|
int numChildren()
E getChild(int i)
i
- the index of the child to be returned
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |