public boolean removeAll(){
  lock.lock();
  try {
    if (cookieJar.isEmpty()) {
      return false;
    }
    cookieJar.clear();
    domainIndex.clear();
    uriIndex.clear();
  }
  finally {
    lock.unlock();
  }
  return true;
}

public boolean removeAll ( ) { lock . lock ( ) ; try { if ( cookieJar . isEmpty ( ) ) { return false ; } cookieJar . clear ( ) ; domainIndex . clear ( ) ; uriIndex . clear ( ) ; } finally { lock . unlock ( ) ; } return true ; }
remove all cookies in this cookie store .
