All Implemented Interfaces:
Serializable, Cloneable, Iterable<Device>, Collection<Device>, List<Device>, RandomAccess, SequencedCollection<Device>

public class DeviceListextends Vector<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 Details

  • Constructor Details

    • DeviceList

      public DeviceList()
      /////////////////////////////////////////////
  • Method Details

    • getDevice

      public Device getDevice(int n)
      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