/guava/android/guava/src/com/google/common/graph/ImmutableNetwork.java
private MutableNetwork<N, E> mutableNetwork;
private final MutableNetwork<N, E> mutableNetwork;
return (E edge) -> network.incidentNodes(edge).target(); } private static <N, E> Function<E, N> adjacentNodeFn(Network<N, E> network, N node) { return (E edge) -> network.incidentNodes(edge).adjacentNode(node); } public static class Builder<N, E> { <extra_id_0> Builder(NetworkBuilder<N, E> networkBuilder) { this.mutableNetwork = networkBuilder.build(); } @CanIgnoreReturnValue public ImmutableNetwork.Builder<N, E> addNode(N node) { mutableNetwork.addNode(node);