Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. 2, 20, 0, 9, 7, 17, ... (100 columns)
  2. 1, 3, 22, 11, 0, 0, ...
  3. ...
  4. (100 rows)
  5.  
  6. while ((line = br.readLine()) != null) {
  7. String[] values = line.split(','); // this heavily uses String
  8. parseInts(values);
  9. }
  10.  
  11. while ((r = fileInput.read()) != -1) {
  12. char c = (char) r;
  13. if (c != ',' && c != 'n') {
  14. doSomething(c); // this is problematic when reading 2 digit numbers
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement