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