|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NetList
A list comprising of homenetwork elements such as Device or NetModule.
The application may retrieve such a list from NetManager,
getNetModules * or getDevices. The application
may refine the list by applying a PropertyFilter.
| Method Summary | |
|---|---|
boolean |
contains(Object element)
Indicates whether an element is included in this NetList. |
NetList |
filterElement(PropertyFilter filter)
Applies a new PropertyFilter to this element list and
returns a new list. |
Object |
getElement(int index)
Returns the element indexed by a number. |
Enumeration |
getElements()
Returns all elements in this NetList in Enumeration. |
int |
indexOf(Object element)
Returns the index of an element in this element list. |
int |
size()
Returns the size of this list. |
| Method Detail |
|---|
boolean contains(Object element)
element - the element to check whether it is in the list
Object getElement(int index)
index - specified index of the element
Enumeration getElements()
Enumeration.
In Homenetwork, NetList can be used to retrieve a list of Devices
or a list of NetModules. In either case, a corresponding type of object
is returned.
NetList filterElement(PropertyFilter filter)
PropertyFilter to this element list and
returns a new list.
filter - new filter
PropertyFilterint indexOf(Object element)
element - to be checked
int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||