- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Service>, Collection<Service>, List<Service>, RandomAccess, SequencedCollection<Service>
A collection of UPnP services.
This class extends Vector to manage multiple Service objects that represent services provided by UPnP devices. It provides type-safe collection management for service enumeration and organization.
Key features:
- Type-safe service collection
- XML element name constant
- Vector-based implementation for efficiency
- Service discovery result management
- Device service organization
This class is used by UPnP devices and control points to maintain collections of services, enabling organized service management and enumeration for application use and XML description generation.
- See Also:
Field Summary
FieldsFields inherited from class Vector
capacityIncrement, elementCount, elementDataFields inherited from class AbstractList
modCountConstructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptiongetService(int n) Return the service held at the given position in the list.Methods inherited from class Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizeMethods inherited from interface Collection
parallelStream, stream, toArrayMethods inherited from interface List
addFirst, addLast, getFirst, getLast, removeFirst, removeLast, reversed
Field Details
ELEM_NAME
/////////////////////////////////////////////- See Also:
Constructor Details
ServiceList
public ServiceList()/////////////////////////////////////////////
Method Details
getService
Return the service held at the given position in the list.- Parameters:
n- the zero-based index of the wanted service- Returns:
- the service at that position, or null if the index is out of range or the underlying element could not be read