cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/schedulers/cloudlet/CloudletSchedulerAbstract.java
protected Optional<CloudletExecutionInfo> findCloudletInList(double cloudletId, List<CloudletExecutionInfo> list) {
        return list.stream()
            .filter(rcl -> rcl.getCloudletId() == cloudletId)
            .findFirst();
    }
/**
     * Search for a Cloudlet into a given list.
     *
     * @param cloudletId the id of the Cloudlet to search for
     * @param list       the list to search the Cloudlet into
     * @return an {@link Optional} value that is able to indicate if the
     * Cloudlet was found or not
     */
Search for a Cloudlet into a given list.
@param cloudletId the id of the Cloudlet to search for
@param list       the list to search the Cloudlet into
@return an  Optional value that is able to indicate if the
Cloudlet was found or not
Search for a Cloudlet into a given list . @param cloudletId the id of the Cloudlet to search for @param list the list to search the Cloudlet into @return an Optional value that is able to indicate if the Cloudlet was found or not
protected Optional<CloudletExecutionInfo> findCloudletInList(double cloudletId, List<CloudletExecutionInfo> list) {
        return list.stream()
            .filter(rcl -> rcl.getCloudletId() == cloudletId)
            .findFirst();
    }
protected Optional < CloudletExecutionInfo > findCloudletInList ( double cloudletId , List < CloudletExecutionInfo > list ) { return list . stream ( ) . filter ( rcl -> rcl . getCloudletId ( ) == cloudletId ) . findFirst ( ) ; }
Search for a Cloudlet into a given list.
Search for a Cloudlet into a given list .