public static IntSet loadCreation(SerializedMultiFile<int[]> input) throws Exception { IntSet output = new IntOpenHashSet(); for (int i = 0; i < input.getPartitionFunction().getPartitionCount(); i++) { IntSet part = new IntOpenHashSet(input.readFirstObject(i)); output.addAll(part); } return output; }
private IntCollection getFileIndices(final Int2IntMap transcriptIndex2FileIndex) { final IntSet result = new IntArraySet(); result.addAll(transcriptIndex2FileIndex.values()); return result; }