public class ServiceInfoList
extends java.lang.Object
implements java.io.Serializable
ServiceInfo
objects.Constructor and Description |
---|
ServiceInfoList()
Deprecated.
Constructs a new, empty ServiceInfoList.
|
ServiceInfoList(int initialSize)
Deprecated.
Constructs a new, empty ServiceInfoList, with the initial capacity specified.
|
Modifier and Type | Method and Description |
---|---|
void |
add(ServiceInfo serviceInfo)
Deprecated.
Adds a
ServiceInfo to the ServiceInfoList. |
ServiceInfo |
get(int index)
Deprecated.
Returns the
ServiceInfo at the specified index. |
int |
size()
Deprecated.
Returns the number of
ServiceInfo objects in the ServiceInfoList. |
public ServiceInfoList()
public ServiceInfoList(int initialSize)
initialSize
- the initial capacity of the ServiceInfoList.public void add(ServiceInfo serviceInfo)
ServiceInfo
to the ServiceInfoList.serviceInfo
- the ServiceInfo to be added.public ServiceInfo get(int index)
ServiceInfo
at the specified index.int
- the index of the ServiceInfo to be retrieved.public int size()
ServiceInfo
objects in the ServiceInfoList.