cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/BasicFirstExample.java
private List<Cloudlet> createCloudlets() {
        final List<Cloudlet> list = new ArrayList<>(CLOUDLETS);
        UtilizationModel utilization = new UtilizationModelFull();
        for (int i = 0; i < CLOUDLETS; i++) {
            Cloudlet cloudlet =
                new CloudletSimple(i, CLOUDLET_LENGTH, CLOUDLET_PES)
                    .setFileSize(1024)
                    .setOutputSize(1024)
                    .setUtilizationModel(utilization);
            list.add(cloudlet);
        }

        return list;
    }
/**
     * Creates a list of Cloudlets.
     */
Creates a list of Cloudlets.
Creates a list of Cloudlets .
private List<Cloudlet> createCloudlets() {
        final List<Cloudlet> list = new ArrayList<>(CLOUDLETS);
        UtilizationModel utilization = new UtilizationModelFull();
        for (int i = 0; i < CLOUDLETS; i++) {
            Cloudlet cloudlet =
                new CloudletSimple(i, CLOUDLET_LENGTH, CLOUDLET_PES)
                    .setFileSize(1024)
                    .setOutputSize(1024)
                    .setUtilizationModel(utilization);
            list.add(cloudlet);
        }
        return list;
    }
private List < Cloudlet > createCloudlets ( ) { final List < Cloudlet > list = new ArrayList < > ( CLOUDLETS ) ; UtilizationModel utilization = new UtilizationModelFull ( ) ; for ( int i = 0 ; i < CLOUDLETS ; i ++ ) { Cloudlet cloudlet = new CloudletSimple ( i , CLOUDLET_LENGTH , CLOUDLET_PES ) . setFileSize ( 1024 ) . setOutputSize ( 1024 ) . setUtilizationModel ( utilization ) ; list . add ( cloudlet ) ; } return list ; }
Creates a list of Cloudlets.
Creates a list of Cloudlets .