public boolean remove(Object o){
  final ReentrantLock lock=this.lock;
  lock.lock();
  try {
    for (    TenantQueue q : qs.values()) {
      if (q.remove(o))       return true;
    }
    return false;
  }
  finally {
    lock.unlock();
  }
}

public boolean remove ( Object o ) { final ReentrantLock lock = this . lock ; lock . lock ( ) ; try { for ( TenantQueue q : qs . values ( ) ) { if ( q . remove ( o ) ) return true ; } return false ; } finally { lock . unlock ( ) ; } }
removes a single instance of the specified element from this queue , if it is present , whether or not it has expired .
