cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/DynamicCloudletsArrival1.java
private Vm createAndSubmitVmAndCloudlets() {
        List<Vm> list = new ArrayList<>();
        Vm vm = createVm(this.vmList.size(), broker);
        list.add(vm);

        broker.submitVmList(list);
        this.vmList.addAll(list);

        //Submit cloudlets without delay
        createAndSubmitCloudlets(vm, 0);
        return vm;
    }
/**
     * Creates one Vm and a group of cloudlets to run inside it,
     * and submit the Vm and its cloudlets to the broker.
     * @return the created VM
     *
     * @see #createVm(int, org.cloudbus.cloudsim.brokers.DatacenterBroker)
     */
Creates one Vm and a group of cloudlets to run inside it,
and submit the Vm and its cloudlets to the broker.
@return the created VM


Creates one Vm and a group of cloudlets to run inside it and submit the Vm and its cloudlets to the broker . @return the created VM
private Vm createAndSubmitVmAndCloudlets() {
        List<Vm> list = new ArrayList<>();
        Vm vm = createVm(this.vmList.size(), broker);
        list.add(vm);
        broker.submitVmList(list);
        this.vmList.addAll(list);
        createAndSubmitCloudlets(vm, 0);
        return vm;
    }
private Vm createAndSubmitVmAndCloudlets ( ) { List < Vm > list = new ArrayList < > ( ) ; Vm vm = createVm ( this . vmList . size ( ) , broker ) ; list . add ( vm ) ; broker . submitVmList ( list ) ; this . vmList . addAll ( list ) ; createAndSubmitCloudlets ( vm , 0 ) ; return vm ; }
Creates one Vm and a group of cloudlets to run inside it,
 and submit the Vm and its cloudlets to the broker.
Creates one Vm and a group of cloudlets to run inside it and submit the Vm and its cloudlets to the broker .
//Submit cloudlets without delay