Code example for Multiset

Methods: count

0
    calls.add("getUser");
    return User.ANONYMOUS;
  } 
 
  public Integer getCallCount(String method) {
    return calls.count(method);
  } 
} 
Connect your IDE to all the code out there  Get Codota for Java