Code example for SetMultimap

Methods: containsKeyremoveAll

0
    /** 
     * Complete the transaction, and remove all events from inflight list. 
     * @param transactionID 
     */ 
    public boolean completeTransaction(Long transactionID) {
      if(!inflightEvents.containsKey(transactionID)) {
        return false; 
      } 
      inflightEvents.removeAll(transactionID);
      inflightFileIDs.removeAll(transactionID);
      syncRequired = true;
      return true; 
    } 
 
    /** 
     * Add an event pointer to the inflights list. 
     * @param transactionID 
     * @param pointer 
     */ 
    public void addEvent(Long transactionID, Long pointer){
Connect your IDE to all the code out there  Get Codota for Java