cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudbus/cloudsim/util/WorkloadFileReader.java
private String readNextLine(BufferedReader reader, int lineNumber) throws IOException {
        if (reader.ready() && (maxLinesToRead == -1 || lineNumber <= maxLinesToRead)) {
            return reader.readLine();
        }

        return null;
    }
/**
     * Reads the next line of the workload file.
     *
     * @param reader     the object that is reading the workload file
     * @param lineNumber the number of the line that that will be read from the workload file
     * @return the line read; or null if there isn't any more lines to read or if
     * the number of lines read reached the {@link #getMaxLinesToRead()}
     */
Reads the next line of the workload file.
@param reader     the object that is reading the workload file
@param lineNumber the number of the line that that will be read from the workload file
@return the line read; or null if there isn't any more lines to read or if
the number of lines read reached the  #getMaxLinesToRead()
Reads the next line of the workload file . @param reader the object that is reading the workload file @param lineNumber the number of the line that that will be read from the workload file @return the line read ; or null if there isn ' t any more lines to read or if the number of lines read reached the #getMaxLinesToRead ()
private String readNextLine(BufferedReader reader, int lineNumber) throws IOException {
        if (reader.ready() && (maxLinesToRead == -1 || lineNumber <= maxLinesToRead)) {
            return reader.readLine();
        }
        return null;
    }
private String readNextLine ( BufferedReader reader , int lineNumber ) throws IOException { if ( reader . ready ( ) && ( maxLinesToRead == - 1 || lineNumber <= maxLinesToRead ) ) { return reader . readLine ( ) ; } return null ; }
Reads the next line of the workload file.
Reads the next line of the workload file .