private void loadRecipients(int addressType,HashSet<String> recipients,HashMap<Integer,EncodedStringValue[]> addressMap,boolean excludeMyNumber){
  EncodedStringValue[] array=addressMap.get(addressType);
  if (array == null) {
    return;
  }
  if (excludeMyNumber && array.length == 1) {
    return;
  }
  String myNumber=excludeMyNumber ? mTelephonyManager.getLine1Number() : null;
  for (  EncodedStringValue v : array) {
    if (v != null) {
      String number=v.getString();
      if ((myNumber == null || !PhoneNumberUtils.compare(number,myNumber)) && !recipients.contains(number)) {
        recipients.add(number);
      }
    }
  }
}

private void loadRecipients ( int addressType , HashSet < String > recipients , HashMap < Integer , EncodedStringValue [ ] > addressMap , boolean excludeMyNumber ) { EncodedStringValue [ ] array = addressMap . get ( addressType ) ; if ( array == null ) { return ; } if ( excludeMyNumber && array . length == 1 ) { return ; } String myNumber = excludeMyNumber ? mTelephonyManager . getLine1Number ( ) : null ; for ( EncodedStringValue v : array ) { if ( v != null ) { String number = v . getString ( ) ; if ( ( myNumber == null || ! PhoneNumberUtils . compare ( number , myNumber ) ) && ! recipients . contains ( number ) ) { recipients . add ( number ) ; } } } }
for a given address type , extract the recipients from the headers .
