cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/datacenters/DatacenterSimple.java
protected boolean contains(final String fileName) {
        if (Objects.isNull(fileName) || fileName.isEmpty()) {
            return false;
        }

        return storageList.stream().anyMatch(storage -> storage.contains(fileName));
    }
/**
     * Checks whether the Datacenter has the given file.
     *
     * @param fileName a file name to be searched
     * @return <tt>true</tt> if successful, <tt>false</tt> otherwise
     */
Checks whether the Datacenter has the given file.
@param fileName a file name to be searched
@return true if successful, false otherwise
Checks whether the Datacenter has the given file . @param fileName a file name to be searched @return true if successful false otherwise
protected boolean contains(final String fileName) {
        if (Objects.isNull(fileName) || fileName.isEmpty()) {
            return false;
        }
        return storageList.stream().anyMatch(storage -> storage.contains(fileName));
    }
protected boolean contains ( final String fileName ) { if ( Objects . isNull ( fileName ) || fileName . isEmpty ( ) ) { return false ; } return storageList . stream ( ) . anyMatch ( storage -> storage . contains ( fileName ) ) ; }
Checks whether the Datacenter has the given file.
Checks whether the Datacenter has the given file .