@Override
      public @NotNull Iterator<Node> getOut(Node node) {
        Set<Node> nodes = resultGraph.get(node);
        return nodes != null ? nodes.iterator() : Collections.emptyIterator();
      }
@Override
      public @NotNull Iterator<Node> getOut(Node node)