public boolean matchesCurrentAvailableDevices(@NotNull Collection<IDevice> devices){
  if (myDevicesAvailableAtLaunch.size() != devices.size()) {
    return false;
  }
  for (  IDevice d : devices) {
    if (!myDevicesAvailableAtLaunch.contains(d.getSerialNumber())) {
      return false;
    }
  }
  return true;
}

public boolean matchesCurrentAvailableDevices ( @ NotNull Collection < IDevice > devices ) { if ( myDevicesAvailableAtLaunch . size ( ) != devices . size ( ) ) { return false ; } for ( IDevice d : devices ) { if ( ! myDevicesAvailableAtLaunch . contains ( d . getSerialNumber ( ) ) ) { return false ; } } return true ; }
whether the devices available now were the same set of devices available at the time of this launch .
