- All Implemented Interfaces:
Serializable, Cloneable, Iterable<Device>, Collection<Device>, List<Device>, RandomAccess, SequencedCollection<Device>
A collection of UPnP devices.
This class extends Vector to manage multiple Device objects that represent UPnP devices discovered on the network. It provides type-safe collection management for device enumeration and organization.
Key features:
- Type-safe device collection
- XML element name constant
- Vector-based implementation for efficiency
- Device discovery result management
- Control point integration
This class is used by UPnP control points to maintain collections of discovered devices, enabling organized device management and enumeration for application use.
- See Also:
Field Summary
FieldsFields inherited from class Vector
capacityIncrement, elementCount, elementDataFields inherited from class AbstractList
modCountConstructor Summary
ConstructorsMethod Summary
All MethodsMethods 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
DeviceList
public DeviceList()/////////////////////////////////////////////
Method Details
getDevice
Returns the device stored at the specified position.- Parameters:
n- the zero-based index of the wanted device- Returns:
- the device at that index, or null if the index is out of range