124125126127128129130131132133134
protected IntSet getPartitions(Set<Node> nodes) { IntSet partitionSet = new IntOpenHashSet(); for (Node n : nodes) { partitionSet.addAll(n.getPartitionIds()); } return partitionSet; } /**