@Override public void clearOntologyStorers() { // Locking done by collection ontologyStorers.clear(); }
@Override public void clearOntologyStorers() { // Locking done by collection ontologyStorers.clear(); }
@Override public void clearIRIMappers() { // Locking done by collection documentMappers.clear(); }
@Override public void clearIRIMappers() { // Locking done by collection documentMappers.clear(); }
@Override public void clearIRIMappers() { // Locking done by collection documentMappers.clear(); }
@Override public void clearOntologyStorers() { // Locking done by collection ontologyStorers.clear(); }
@Override public void clearOntologyStorers() { // Locking done by collection ontologyStorers.clear(); }
@Override public void clearIRIMappers() { // Locking done by collection documentMappers.clear(); }
@Override public void clear() { writeLock.lock(); try { super.clear(); } finally { writeLock.unlock(); } }
@Override public void clear() { writeLock.lock(); try { super.clear(); } finally { writeLock.unlock(); } }
@Override public void clear() { writeLock.lock(); try { super.clear(); } finally { writeLock.unlock(); } }
@Override public void clear() { writeLock.lock(); try { super.clear(); } finally { writeLock.unlock(); } }
/** * @param c collection of elements to set. Existing elements will be removed, and the priority * collection will be sorted according to the PriorityCollectionSorting value for the manager * configuration. */ public void set(Iterable<T> c) { clear(); add(c); }
/** * Remove all elements, replace with the arguments and sort according to * priority. * * @param c list of elements to set */ public void set(@SuppressWarnings("unchecked") T... c) { clear(); add(c); }
/** * @param c collection of elements to set. Existing elements will be removed, and the priority * collection will be sorted according to the PriorityCollectionSorting value for the manager * configuration. */ public void set(Iterable<T> c) { clear(); add(c); }
/** * Clear the manager storers * * @deprecated use getOntologyStorers().clear() instead */ @Override public void clearOntologyStorers() { delegate.getOntologyStorers().clear(); }
/** * @param c collection of elements to set. Existing elements will be removed, and the priority * collection will be sorted according to the PriorityCollectionSorting value for the manager * configuration. */ public void set(Set<T> c) { clear(); for (T t : c) { delegate.add(t); } sortSet(); }
/** * @param c collection of elements to set. Existing elements will be removed, and the priority * collection will be sorted according to the PriorityCollectionSorting value for the manager * configuration. */ public void set(Set<T> c) { clear(); for (T t : c) { delegate.add(t); } sortSet(); }
/** * Remove all elements, replace with the arguments and sort according to * priority. * * @param c list of elements to set */ public void set(@SuppressWarnings("unchecked") T... c) { clear(); add(c); }
/** * Remove all elements, replace with the arguments and sort according to * priority. * * @param c list of elements to set */ public void set(@SuppressWarnings("unchecked") T... c) { clear(); add(c); }