@Test void close() { assertDoesNotThrow(() -> dbWriter.close()); }
@Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } }
H2ScoreDistributionWriter implements ScoreDistributionWriter { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } }
H2ScoreDistributionWriter implements ScoreDistributionWriter { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } H2ScoreDistributionWriter(String pathDb, String dataTableName, boolean resetTableIfExists); }
H2ScoreDistributionWriter implements ScoreDistributionWriter { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } H2ScoreDistributionWriter(String pathDb, String dataTableName, boolean resetTableIfExists); @Override void close(); @Override void write(int numTerms, ScoreDistribution scoreDistribution, int resolution); }
H2ScoreDistributionWriter implements ScoreDistributionWriter { @Override public void close() throws IOException { try { conn.close(); } catch (SQLException e) { throw new IOException("Problem closing connection to database", e); } } H2ScoreDistributionWriter(String pathDb, String dataTableName, boolean resetTableIfExists); @Override void close(); @Override void write(int numTerms, ScoreDistribution scoreDistribution, int resolution);  }