@Test public void testConstructorDoesNotIgnoreEdgeBetweenInterfacesOnSameNode() { Layer1Edge e = new Layer1Edge("c1", "i1", "c1", "i2"); assertThat(new Layer1Topology(ImmutableList.of(e)).getGraph().edges(), contains(e)); }
@JsonIgnore public @Nonnull ImmutableNetwork<Layer1Node, Layer1Edge> getGraph() { return _graph; }
Layer1Topology { @JsonIgnore public @Nonnull ImmutableNetwork<Layer1Node, Layer1Edge> getGraph() { return _graph; } }
Layer1Topology { @JsonIgnore public @Nonnull ImmutableNetwork<Layer1Node, Layer1Edge> getGraph() { return _graph; } Layer1Topology(@Nonnull Iterable<Layer1Edge> edges); }
Layer1Topology { @JsonIgnore public @Nonnull ImmutableNetwork<Layer1Node, Layer1Edge> getGraph() { return _graph; } Layer1Topology(@Nonnull Iterable<Layer1Edge> edges); @JsonIgnore @Nonnull ImmutableNetwork<Layer1Node, Layer1Edge> getGraph(); @Override boolean equals(Object obj); @Override int hashCode(); }
Layer1Topology { @JsonIgnore public @Nonnull ImmutableNetwork<Layer1Node, Layer1Edge> getGraph() { return _graph; } Layer1Topology(@Nonnull Iterable<Layer1Edge> edges); @JsonIgnore @Nonnull ImmutableNetwork<Layer1Node, Layer1Edge> getGraph(); @Override boolean equals(Object obj); @Override int hashCode(); static final Layer1Topology EMPTY; }