protected void filterMembers(Collection<InternalDistributedMember> mbrs,Set<InternalDistributedMember> matchingMembers,short requestType){
  Set<InternalDistributedMember> requests=getPendingRequestIDs(requestType);
  if (!requests.isEmpty()) {
    logger.debug("filterMembers: processing " + requests.size() + " requests for type "+ requestType);
    Iterator<InternalDistributedMember> itr=requests.iterator();
    while (itr.hasNext()) {
      InternalDistributedMember memberID=itr.next();
      if (mbrs.contains(memberID)) {
        testFlagForRemovalRequest=true;
        matchingMembers.add(memberID);
      }
    }
  }
}

protected void filterMembers ( Collection < InternalDistributedMember > mbrs , Set < InternalDistributedMember > matchingMembers , short requestType ) { Set < InternalDistributedMember > requests = getPendingRequestIDs ( requestType ) ; if ( ! requests . isEmpty ( ) ) { logger . debug ( "filterMembers: processing " + requests . size ( ) + " requests for type " + requestType ) ; Iterator < InternalDistributedMember > itr = requests . iterator ( ) ; while ( itr . hasNext ( ) ) { InternalDistributedMember memberID = itr . next ( ) ; if ( mbrs . contains ( memberID ) ) { testFlagForRemovalRequest = true ; matchingMembers . add ( memberID ) ; } } } }
this gets pending requests and returns the ids of any that are in the given collection
