cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/core/CloudInformationService.java
protected void signalShutdown(Collection<? extends SimEntity> list) {
        // checks whether a list is empty or not
        if (Objects.isNull(list)) {
            return;
        }

        // Send END_OF_SIMULATION event to all entities in the list
        list.forEach(entity -> super.send(entity.getId(), 0L, CloudSimTags.END_OF_SIMULATION));
    }
/**
     * Sends a {@link CloudSimTags#END_OF_SIMULATION} signal to all entity IDs
     * mentioned in the given list.
     *
     * @param list List of entities to notify about simulation end
     * @pre list != null
     * @post $none
     */
Sends a  CloudSimTags#END_OF_SIMULATION signal to all entity IDs
mentioned in the given list.

@param list List of entities to notify about simulation end
@pre list != null
@post $none
Sends a CloudSimTags#END_OF_SIMULATION signal to all entity IDs mentioned in the given list . @param list List of entities to notify about simulation end @pre list ! = null @post $none
protected void signalShutdown(Collection<? extends SimEntity> list) {
        if (Objects.isNull(list)) {
            return;
        }
        list.forEach(entity -> super.send(entity.getId(), 0L, CloudSimTags.END_OF_SIMULATION));
    }
protected void signalShutdown ( Collection < ? extends SimEntity > list ) { if ( Objects . isNull ( list ) ) { return ; } list . forEach ( entity -> super . send ( entity . getId ( ) , 0L , CloudSimTags . END_OF_SIMULATION ) ) ; }
Sends a {@link CloudSimTags#END_OF_SIMULATION} signal to all entity IDs
 mentioned in the given list.
Sends a { @link CloudSimTags#END_OF_SIMULATION } signal to all entity IDs mentioned in the given list .
// checks whether a list is empty or not // Send END_OF_SIMULATION event to all entities in the list