question: returns a matched connection from the candidate set of connections . concode_field_sep long serialVersionUID concode_elem_sep String cfProperty concode_elem_sep PrintWriter logwriter concode_elem_sep ResourceAdapter ra concode_field_sep ManagedConnection createManagedConnection concode_elem_sep void setCfProperty concode_elem_sep void setResourceAdapter concode_elem_sep void setLogWriter concode_elem_sep int hashCode concode_elem_sep Object createConnectionFactory concode_elem_sep Object createConnectionFactory concode_elem_sep boolean equals concode_elem_sep ResourceAdapter getResourceAdapter concode_elem_sep String getCfProperty concode_elem_sep PrintWriter getLogWriter
target: ManagedConnection function ( Set arg0 , Subject arg1 , ConnectionRequestInfo arg2 ) { ManagedConnection loc0 = null ; Iterator loc1 = arg0 . iterator ( ) ; while ( loc0 == null && loc1 . hasNext ( ) ) { ManagedConnection loc2 = ( ManagedConnection ) loc1 . next ( ) ; if ( loc2 instanceof ValidManagedConnection ) { loc0 = loc2 ; } } return loc0 ; }