public NetworkBuilder<N, E> expectedEdgeCount(int expectedEdgeCount) {
    assert expectedEdgeCount >= 0;
    myExpectedEdgeCount = OptionalInt.of(expectedEdgeCount);
    return this;
  }
public NetworkBuilder<N, E> expectedEdgeCount(int expectedEdgeCount)