public Set<Edge> toSet() {
		GraphIterator<Edge> i = this.iterator();
		Set<Edge> s = new HashSet<>(this.size());
		while (i.hasNext()) {
			s.add(i.next());
		}
		return s;
	}
Get the edges in this EdgeSet as a java.util.Set.
Ghidra/Framework/Generic/src/main/java/ghidra/util/graph/EdgeSet.java