Last active
December 19, 2015 14:09
-
-
Save gidili/5966883 to your computer and use it in GitHub Desktop.
logging a file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Writer test_log = null; | |
// write txt files | |
test_log = new FileWriter("test_log.txt"); | |
for(int i=0; i<checkpoint_values.neighborMap.size(); i=i+2 ) | |
{ | |
test_log.write(checkpoint_values.neighborMap.get(i) + "\t" + | |
checkpoint_values.neighborMap.get(i + 1) + "\r\n"); | |
} | |
test_log.flush(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment