@Override public int hashCode() { if (this.immutable) { return this.hash; } return internalHashCode(); }
@Override public T call() throws Exception { recurseOnDirectory( futures, results, directory, fileFilter, fileProcessor); return null; } });
/** * @param conn Connection * @exception SQLException */ protected static void commit(Connection conn) throws SQLException { SqlTransaction.commit(conn); }
/** * @param conn Connection * @exception SQLException */ protected static void rollback(Connection conn) throws SQLException { SqlTransaction.rollback(conn); }
@Override public void scanDirectoryNoResults( File directory, FileFilter fileFilter, Function<Resource, ?> fileProcessor) { this.scanDirectory(directory, null, fileFilter, fileProcessor); }
protected boolean isReady() { boolean r = this.ready; if (!r) { r = JdbcUtils.doesTableExist(this.jdbcOperations, Table.NAME); if (r) { this.ready = r; } } return r; } }
@Override public boolean addAll(Collection<? extends E> collection) { boolean modified = false; for (final E element : collection) { modified = this.add(element) || modified; } return modified; }
@Override public Set<String> getFragmentNames() { return this.getFragmentNames(this.getFragmentDefinitions()); }
@Override public <P extends Populator<String, String>> P populateStylesheetParameters( P stylesheetParameters) { stylesheetParameters.putAll(this.parameters); return stylesheetParameters; }
@Override public InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws SAXException, IOException { return resolver.resolveEntity(publicId, systemId); }
@Override public boolean isFragmentOwner(IPerson person) { return this.fragmentUtils.getFragmentDefinitionByOwner(person) != null; }
public Tuple(A first, B second, boolean immutable) { this.first = first; this.second = second; this.immutable = immutable; if (this.immutable) { hash = internalHashCode(); } else { hash = 0; } }
@Override public T call() throws Exception { recurseOnDirectory( futures, results, directory, fileFilter, fileProcessor); return null; } });
/** * @param conn Connection * @exception SQLException */ protected static void commit(Connection conn) throws SQLException { SqlTransaction.commit(conn); }
/** * @param conn Connection * @exception SQLException */ protected static void rollback(Connection conn) throws SQLException { SqlTransaction.rollback(conn); }
@Override public <P extends Populator<String, String>> P populateStylesheetParameters( P stylesheetParameters) { stylesheetParameters.putAll(this.parameters); return stylesheetParameters; }
public Tuple(A first, B second, boolean immutable) { this.first = first; this.second = second; this.immutable = immutable; if (this.immutable) { hash = internalHashCode(); } else { hash = 0; } }
@Override public int hashCode() { if (this.immutable) { return this.hash; } return internalHashCode(); }