@Test public void hydrogen() throws IOException { Graph g = Parser.losse("HH"); assertThat(g.order(), is(2)); assertThat(g.toSmiles(), is("[H][H]")); }
static Graph losse(String str) throws InvalidSmilesException { return new Parser(CharBuffer.fromString(str), false).molecule(); }
Parser { static Graph losse(String str) throws InvalidSmilesException { return new Parser(CharBuffer.fromString(str), false).molecule(); } }
Parser { static Graph losse(String str) throws InvalidSmilesException { return new Parser(CharBuffer.fromString(str), false).molecule(); } Parser(CharBuffer buffer, boolean strict);   Parser(String str); }
Parser { static Graph losse(String str) throws InvalidSmilesException { return new Parser(CharBuffer.fromString(str), false).molecule(); } Parser(CharBuffer buffer, boolean strict);   Parser(String str); List<Edge> getEdges(LocalArrangement localArrangement, int u); int[] getAlleneCarriers(int focus); Collection<? extends String> getWarnings(); }
Parser { static Graph losse(String str) throws InvalidSmilesException { return new Parser(CharBuffer.fromString(str), false).molecule(); } Parser(CharBuffer buffer, boolean strict);   Parser(String str); List<Edge> getEdges(LocalArrangement localArrangement, int u); int[] getAlleneCarriers(int focus); Collection<? extends String> getWarnings();  }