code: public <E1 extends E> NetworkBuilder<N, E1> edgeOrder(ElementOrder<E1> edgeOrder) {
      NetworkBuilder<N, E1> newBuilder = cast();
      newBuilder.edgeOrder = checkNotNull(edgeOrder);
      return newBuilder;
    }
docs: Specifies the order of iteration for the elements of {@link Network#edges()}.