code: public static List<Deadline> newDeadline(Collection<VM> vms, String deadline) {
          return vms.stream().map(v -> new Deadline(v, deadline)).collect(Collectors.toList());
      }
docs: Instantiate discrete constraints for a collection of VMs.
  
  @param vms      the VMs to integrate
  @param deadline the desired deadline
  @return the associated list of constraints