(List<Future<Map<String, knucleotide>>> futures, String nucleotideFragment)
| 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; |
no test coverage detected