private AdmissionDetailsQuestionsVo questionRecorded(AdmissionDetailsQuestionsVoCollection voCol,AdmissionQuestion voLkup) { if (voCol == null) return null; for(int i=0;i<voCol.size();i++) { if ((voCol.get(i).getQuestionIsNotNull() && voCol.get(i).getQuestion().equals(voLkup))) return voCol.get(i); } return null; }