MCPcopy Create free account
hub / github.com/BirolLab/RNA-Bloom / writeIntArrayToFile

Method writeIntArrayToFile

src/rnabloom/util/FileUtils.java:104–111  ·  view source on GitHub ↗
(String path, int[] arr)

Source from the content-addressed store, hash-verified

102 }
103
104 public static void writeIntArrayToFile(String path, int[] arr) throws IOException {
105 Writer fr = getTextFileWriter(path, false);
106 for (int i : arr) {
107 fr.write(Integer.toString(i));
108 fr.write('\n');
109 }
110 fr.close();
111 }
112
113 public static int[] readIntArrayFromFile(String path) throws FileNotFoundException, IOException {
114 ArrayDeque<Integer> tmpQueue = new ArrayDeque<>();

Callers 3

runMethod · 0.80
avaClusteredOLCMethod · 0.80
mapClusteredOLCMethod · 0.80

Calls 4

getTextFileWriterMethod · 0.95
closeMethod · 0.65
writeMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected