public interface NetList
NetManager,
getNetModules * or getDevices. The application
may refine the list by applying a PropertyFilter.| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean contains(Object element)
element - the element to check whether it is in the listObject getElement(int index)
index - specified index of the elementEnumeration 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 filterPropertyFilterint indexOf(Object element)
element - to be checkedint size()
Copyright © 2013 CableLabs. All rights reserved.