protected List < CDCQueryResult > getCDCQueryResult ( List < CDCResponse > cdcResponses ) { List < CDCQueryResult > cdcQueryResults = null ; if ( cdcResponses != null ) { Iterator < CDCResponse > cdcResponseItr = cdcResponses . iterator ( ) ; while ( cdcResponseItr . hasNext ( ) ) { cdcQueryResults = new ArrayList < CDCQueryResult > ( ) ; CDCQueryResult cdcQueryResult = getCDCQueryResult ( cdcResponseItr . next ( ) ) ; cdcQueryResults . add ( cdcQueryResult ) ; } } return cdcQueryResults ; }
Method to get the list of CDCQueryResult object from list of CDCResponse