MCPcopy Index your code
hub / github.com/apache/groovy / writeCount

Method writeCount

benchmark/bench/knucleotide.java:87–95  ·  view source on GitHub ↗
(List<Future<Map<String, knucleotide>>> futures, String nucleotideFragment)

Source from the content-addressed store, hash-verified

85 }
86
87 static String writeCount(List<Future<Map<String, knucleotide>>> futures, String nucleotideFragment) throws Exception {
88 int count = 0;
89 for (Future<Map<String, knucleotide>> future : futures) {
90 knucleotide temp = future.get().get(nucleotideFragment);
91 if (temp != null) count += temp.count;
92 }
93
94 return count + "\t" + nucleotideFragment.toUpperCase();
95 }
96
97 public static void main (String[] args) throws Exception {
98 String line;

Callers 1

mainMethod · 0.95

Calls 2

getMethod · 0.65
toUpperCaseMethod · 0.45

Tested by

no test coverage detected