docs: @SuppressWarnings("unchecked")
  	public Iterable<Edge<K, EV>> getEdges() {
  		if (edgesUsed) {
  			throw new IllegalStateException("Can use either 'getEdges()' or 'sendMessageToAllNeighbors()' exactly once.");
  		}
  		edgesUsed = true;
  		this.edgeIterator.set((Iterator<Edge<K, EV>>) edges);
  		return this.edgeIterator;
  	}