|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
P - The parent type.T - The children type.public interface IComposite<P extends IComposite<P,T>,T>
Basic composite interface.
| Method Summary | |
|---|---|
P |
add(T child)
Add a child and return the object itself. |
List<T> |
getChildren()
Get the children list. |
boolean |
isEmpty()
Check if object has children. |
| Method Detail |
|---|
boolean isEmpty()
List<T> getChildren()
P add(T child)
child - The child.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||