Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0.8940594
- 0.6853521
- 1.470214
- BufferedReader in = null; {
- try {
- in = new BufferedReader(new FileReader("file.txt"));
- String read = null;
- while ((read = in.readLine()) != null) {
- String[] splited = read.split("\s+");
- for (String part : splited) {
- System.out.println(part);
- }
- }
- } catch (IOException e) {
- System.out.println("There was a problem: " + e);
- e.printStackTrace();
- } finally {
- try {
- in.close();
- } catch (Exception e) {
- }
- }
- }
- {X:0.8940594
- Y:0.6853521
- Z:1.470214}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement