returns the list of addresses that matches the specified type . examples of address type are : to , cc , bcc , etc. . . concode_field_sep String TO concode_elem_sep List<Address> addresses concode_elem_sep String jid concode_elem_sep String description concode_elem_sep boolean delivered concode_elem_sep String type concode_elem_sep String uri concode_elem_sep String REPLY_ROOM concode_elem_sep String node concode_elem_sep String NO_REPLY concode_elem_sep String REPLY_TO concode_elem_sep String BCC concode_elem_sep String CC concode_field_sep void setJid concode_elem_sep void addAddress concode_elem_sep String getJid concode_elem_sep void setUri concode_elem_sep void setNode concode_elem_sep String toXML concode_elem_sep String toXML concode_elem_sep void setDescription concode_elem_sep String getDescription concode_elem_sep void setDelivered concode_elem_sep void setNoReply concode_elem_sep String getElementName concode_elem_sep boolean isDelivered concode_elem_sep String getNamespace concode_elem_sep String getType concode_elem_sep String getNode concode_elem_sep String getUri
List < Address > function ( String arg0 ) { List < Address > loc0 = new ArrayList < Address > ( addresses . size ( ) ) ; for ( Iterator < Address > loc1 = addresses . iterator ( ) ; loc1 . hasNext ( ) ; ) { Address loc2 = ( Address ) loc1 . next ( ) ; if ( loc2 . getType ( ) . equals ( arg0 ) ) { loc0 . add ( loc2 ) ; } } return loc0 ; }