cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/core/CloudInformationService.java
public boolean datacenterExists(Integer id) {
        if (Objects.isNull(id) || id < 0) {
            return false;
        }

        return datacenterExists(datacenterList, id);
    }
/**
     * Checks whether the given Datacenter ID exists or not.
     *
     * @param id a Datacenter id
     * @return <tt>true</tt> if the given ID exists, <tt>false</tt> otherwise
     * @pre id != null
     * @post $none
     */
Checks whether the given Datacenter ID exists or not.
@param id a Datacenter id
@return true if the given ID exists, false otherwise
@pre id != null
@post $none
Checks whether the given Datacenter ID exists or not . @param id a Datacenter id @return true if the given ID exists false otherwise @pre id ! = null @post $none
public boolean datacenterExists(Integer id) {
        if (Objects.isNull(id) || id < 0) {
            return false;
        }
        return datacenterExists(datacenterList, id);
    }
public boolean datacenterExists ( Integer id ) { if ( Objects . isNull ( id ) || id < 0 ) { return false ; } return datacenterExists ( datacenterList , id ) ; }
Checks whether the given Datacenter ID exists or not.
Checks whether the given Datacenter ID exists or not .