question: public Pair < String , String > next ( ) { try { currentHeaderPosition = nextHeaderPosition ; String readHeader = nextLine ; nextHeaderPosition += readHeader . length ( ) + endOfLineBytes ; readHeader = ">" + readHeader . substring ( 1 ) ; String readSequence = r . readLine ( ) ; nextHeaderPosition += readSequence . length ( ) + endOfLineBytes ; String comments = r . readLine ( ) ; nextHeaderPosition += comments . length ( ) + endOfLineBytes ; if ( comments . startsWith ( "+" ) ) { String qualityValues = r . readLine ( ) ; nextHeaderPosition += qualityValues . length ( ) + endOfLineBytes ; } nextLine = r . readLine ( ) ; return new Pair < > ( readHeader , readSequence ) ; } catch ( IOException e ) { Basic . caught ( e ) ; } return null ; }
target:  gets next fastA record