@Override
  public void iterateEdges(final IEdgeCallback<EdgeType> callback) {
    Preconditions.checkNotNull(callback, "Callback argument can't be null");

    for (final EdgeType edge : m_mappings.getEdges()) {
      if (callback.nextEdge(edge) == IterationMode.STOP) {
        return;
      }
    }
  }
Iterates over all edges in the graph.

@param callback Callback object that is invoked once for each edge in the graph.
java/zylib/src/main/java/com/google/security/zynamics/zylib/yfileswrap/gui/zygraph/AbstractZyGraph.java