@Test public void bond() throws Exception { assertThat(new Edge(2, 3, Bond.SINGLE).bond(), is(Bond.SINGLE)); assertThat(new Edge(2, 3, Bond.UP).bond(), is(Bond.UP)); assertThat(new Edge(2, 3, Bond.DOWN).bond(), is(Bond.DOWN)); }
public Bond bond() { return bond; }
Edge { public Bond bond() { return bond; } }
Edge { public Bond bond() { return bond; } Edge(final int u, final int v, final Bond bond);   Edge(Edge e); }
Edge { public Bond bond() { return bond; } Edge(final int u, final int v, final Bond bond);   Edge(Edge e); int either(); int other(final int x); Bond bond(); Bond bond(final int x); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString(); }
Edge { public Bond bond() { return bond; } Edge(final int u, final int v, final Bond bond);   Edge(Edge e); int either(); int other(final int x); Bond bond(); Bond bond(final int x); @Override int hashCode(); @Override boolean equals(Object other); @Override String toString();  }