cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/brokers/DatacenterBrokerSimple1.java
protected Datacenter selectFallbackDatacenterForWaitingVms() {
        return getDatacenterList().stream()
            .filter(dc -> !getDatacenterRequestedList().contains(dc))
            .findFirst()
            .orElse(Datacenter.NULL);
    }
/**
     * Defines the policy to select a fallback Datacenter to Host a VM
     * when a previous selected Datacenter failed to create the requested VMs.
     * <p>
     * <p>It gets the first Datacenter that has not been tried yet.</p>
     *
     * @return the Datacenter selected to try creating
     * the remaining VMs or {@link Datacenter#NULL} if no suitable Datacenter was found
     */
Defines the policy to select a fallback Datacenter to Host a VM
when a previous selected Datacenter failed to create the requested VMs.

It gets the first Datacenter that has not been tried yet.

@return the Datacenter selected to try creating
the remaining VMs or  Datacenter#NULL if no suitable Datacenter was found
Defines the policy to select a fallback Datacenter to Host a VM when a previous selected Datacenter failed to create the requested VMs . It gets the first Datacenter that has not been tried yet . @return the Datacenter selected to try creating the remaining VMs or Datacenter#NULL if no suitable Datacenter was found
protected Datacenter selectFallbackDatacenterForWaitingVms() {
        return getDatacenterList().stream()
            .filter(dc -> !getDatacenterRequestedList().contains(dc))
            .findFirst()
            .orElse(Datacenter.NULL);
    }
protected Datacenter selectFallbackDatacenterForWaitingVms ( ) { return getDatacenterList ( ) . stream ( ) . filter ( dc -> ! getDatacenterRequestedList ( ) . contains ( dc ) ) . findFirst ( ) . orElse ( Datacenter . NULL ) ; }
Defines the policy to select a fallback Datacenter to Host a VM
 when a previous selected Datacenter failed to create the requested VMs.
Defines the policy to select a fallback Datacenter to Host a VM when a previous selected Datacenter failed to create the requested VMs .