cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/schedulers/cloudlet/CloudletSchedulerAbstract.java
protected Optional<CloudletExecutionInfo> findSuitableWaitingCloudlet() {
        return cloudletWaitingList.stream()
            .filter(this::isThereEnoughFreePesForCloudlet)
            .findFirst();
    }
/**
     * Try to find the first Cloudlet in the waiting list which the number of
     * required PEs is not higher than the number of free PEs.
     *
     * @return an {@link Optional} containing the found Cloudlet or an empty
     * Optional otherwise
     */
Try to find the first Cloudlet in the waiting list which the number of
required PEs is not higher than the number of free PEs.

@return an  Optional containing the found Cloudlet or an empty
Optional otherwise
Try to find the first Cloudlet in the waiting list which the number of required PEs is not higher than the number of free PEs . @return an Optional containing the found Cloudlet or an empty Optional otherwise
protected Optional<CloudletExecutionInfo> findSuitableWaitingCloudlet() {
        return cloudletWaitingList.stream()
            .filter(this::isThereEnoughFreePesForCloudlet)
            .findFirst();
    }
protected Optional < CloudletExecutionInfo > findSuitableWaitingCloudlet ( ) { return cloudletWaitingList . stream ( ) . filter ( this :: isThereEnoughFreePesForCloudlet ) . findFirst ( ) ; }
Try to find the first Cloudlet in the waiting list which the number of
 required PEs is not higher than the number of free PEs.
Try to find the first Cloudlet in the waiting list which the number of required PEs is not higher than the number of free PEs .