Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2, 20, 0, 9, 7, 17, ... (100 columns)
- 1, 3, 22, 11, 0, 0, ...
- ...
- (100 rows)
- while ((line = br.readLine()) != null) {
- String[] values = line.split(','); // this heavily uses String
- parseInts(values);
- }
- while ((r = fileInput.read()) != -1) {
- char c = (char) r;
- if (c != ',' && c != 'n') {
- doSomething(c); // this is problematic when reading 2 digit numbers
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement