Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.model.device
Class SimpleFoundDevicesList

java.lang.Object
  extended by org.eclipse.mtj.core.model.device.SimpleFoundDevicesList
All Implemented Interfaces:
IFoundDevicesList

public class SimpleFoundDevicesList
extends Object
implements IFoundDevicesList

Simple implementation of the IFoundDevicesList interface. This implementation collects the devices, but does nothing else with that information.


Constructor Summary
SimpleFoundDevicesList()
          Construct a new device list.
 
Method Summary
 void addDevices(IDevice[] devices)
          Add the specified devices to the list of found devices.
 void clear()
          Clear the previous results from this list.
 IDevice[] getDevices()
          Return all devices added to the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFoundDevicesList

public SimpleFoundDevicesList()
Construct a new device list.

Method Detail

addDevices

public void addDevices(IDevice[] devices)
Description copied from interface: IFoundDevicesList
Add the specified devices to the list of found devices.

Specified by:
addDevices in interface IFoundDevicesList
See Also:
IFoundDevicesList.addDevices(org.eclipse.mtj.core.model.device.IDevice[])

clear

public void clear()
Clear the previous results from this list.


getDevices

public IDevice[] getDevices()
Description copied from interface: IFoundDevicesList
Return all devices added to the list.

Specified by:
getDevices in interface IFoundDevicesList
Returns:
See Also:
IFoundDevicesList.getDevices()

Mobile Tools for Java
Release 1.0