public Set getDestSet() { HashSet set = new HashSet();
public Set<Edge> getDestSet() { HashSet<Edge> set = new HashSet<Edge>();
    public Set getDestSet() {        HashSet set = new HashSet();        for (int i = 0; i < dests.length; i++) {            for (int j = 0; j < dests[i].length; j++)                set.add(dests[i][j]);        }        return set;    }