@Test public void reuseNumbering() throws IOException { Generator generator = new Generator(Graph.fromSmiles("c1cc1c2ccc2"), new Generator.ReuseRingNumbering(1)); assertThat(generator.string(), is("c1cc1c1ccc1")); }
String string() { return sb.toString(); }
Generator { String string() { return sb.toString(); } }
Generator { String string() { return sb.toString(); } Generator(Graph g, RingNumbering rnums);   Generator(Graph g, int[] visitedAt, RingNumbering rnums); }
Generator { String string() { return sb.toString(); } Generator(Graph g, RingNumbering rnums);   Generator(Graph g, int[] visitedAt, RingNumbering rnums);  }
Generator { String string() { return sb.toString(); } Generator(Graph g, RingNumbering rnums);   Generator(Graph g, int[] visitedAt, RingNumbering rnums);   }