cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/cloudlets/network/NetworkCloudlet.java
public boolean startNextTaskIfCurrentIsFinished(double nextTaskStartTime){
        /**
         * @todo @author manoelcampos CloudletTask should implement
         * Null Object Pattern to avoid these null checks.
         */
        final CloudletTask nextTask = getNextTaskIfCurrentIfFinished();
        if(nextTask == null){
            return false;
        }

        nextTask.setStartTime(nextTaskStartTime);
        return true;
    }
/**
     * Change the current task to the next one in order
     * to start executing it, if the current task is finished.
     *
     * @param nextTaskStartTime the time that the next task will start
     * @return true if the current task finished and the next one was started, false otherwise
     */
Change the current task to the next one in order
to start executing it, if the current task is finished.

@param nextTaskStartTime the time that the next task will start
@return true if the current task finished and the next one was started, false otherwise
Change the current task to the next one in order to start executing it if the current task is finished . @param nextTaskStartTime the time that the next task will start @return true if the current task finished and the next one was started false otherwise
public boolean startNextTaskIfCurrentIsFinished(double nextTaskStartTime){
        /**
         * @todo @author manoelcampos CloudletTask should implement
         * Null Object Pattern to avoid these null checks.
         */
        final CloudletTask nextTask = getNextTaskIfCurrentIfFinished();
        if(nextTask == null){
            return false;
        }
        nextTask.setStartTime(nextTaskStartTime);
        return true;
    }
public boolean startNextTaskIfCurrentIsFinished ( double nextTaskStartTime ) { /**
         * @todo @author manoelcampos CloudletTask should implement
         * Null Object Pattern to avoid these null checks.
         */ final CloudletTask nextTask = getNextTaskIfCurrentIfFinished ( ) ; if ( nextTask == null ) { return false ; } nextTask . setStartTime ( nextTaskStartTime ) ; return true ; }
Change the current task to the next one in order
 to start executing it, if the current task is finished.
Change the current task to the next one in order to start executing it if the current task is finished .