/** * {@inheritDoc} */ @Override public void clear() { // Clear the contained SchemaObjects for ( SchemaObject objectClass : oidRegistry ) { objectClass.clear(); } // First clear the shared elements super.clear(); // and clear the descendant for ( Map.Entry<String, Set<ObjectClass>> entry : oidToDescendants.entrySet() ) { Set<ObjectClass> descendants = entry.getValue(); if ( descendants != null ) { descendants.clear(); } } oidToDescendants.clear(); } }
/** * {@inheritDoc} */ @Override public void clear() { // Clear all the schemaObjects for ( SchemaObject schemaObject : oidRegistry ) { // Don't clear LoadableSchemaObject if ( !( schemaObject instanceof LoadableSchemaObject ) ) { schemaObject.clear(); } } // Remove the byName elements byName.clear(); // Clear the OidRegistry oidRegistry.clear(); } }
/** * {@inheritDoc} */ @Override public void clear() { // Clear the contained SchemaObjects for ( SchemaObject objectClass : oidRegistry ) { objectClass.clear(); } // First clear the shared elements super.clear(); // and clear the descendant for ( Map.Entry<String, Set<ObjectClass>> entry : oidToDescendants.entrySet() ) { Set<ObjectClass> descendants = entry.getValue(); if ( descendants != null ) { descendants.clear(); } } oidToDescendants.clear(); } }
/** * {@inheritDoc} */ @Override public void clear() { // Clear all the schemaObjects for ( SchemaObject schemaObject : oidRegistry ) { // Don't clear LoadableSchemaObject if ( !( schemaObject instanceof LoadableSchemaObject ) ) { schemaObject.clear(); } } // Remove the byName elements byName.clear(); // Clear the OidRegistry oidRegistry.clear(); } }
/** * {@inheritDoc} */ @Override public void clear() { // Clear all the schemaObjects for ( SchemaObject schemaObject : oidRegistry ) { // Don't clear LoadableSchemaObject if ( !( schemaObject instanceof LoadableSchemaObject ) ) { schemaObject.clear(); } } // Remove the byName elements byName.clear(); // Clear the OidRegistry oidRegistry.clear(); } }
/** * {@inheritDoc} */ @Override public void clear() { // Clear the contained SchemaObjects for ( SchemaObject objectClass : oidRegistry ) { objectClass.clear(); } // First clear the shared elements super.clear(); // and clear the descendant for ( Map.Entry<String, Set<ObjectClass>> entry : oidToDescendants.entrySet() ) { Set<ObjectClass> descendants = entry.getValue(); if ( descendants != null ) { descendants.clear(); } } oidToDescendants.clear(); } }