public boolean removeOfType ( final Class < ? extends Tag > type ) { write . lock ( ) ; try { return tags . remove ( type ) != null ; } finally { write . unlock ( ) ; } }
Removes all tags of the specified type .