create a map of gpa name - > boolean where the boolean is true if the gpa corresponds to the student . concode_field_sep List<GradePointAverage> allGPAs concode_elem_sep String name concode_elem_sep long id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setId concode_elem_sep long getId concode_elem_sep List<String> getGPAList concode_elem_sep GradePointAverage findGPA concode_elem_sep String toString concode_elem_sep GradePointAverage getDefaultGPA
Map < String , Boolean > function ( StudentFormData arg0 ) { Map < String , Boolean > loc0 = new TreeMap < String , Boolean > ( ) ; for ( GradePointAverage loc1 : allGPAs ) { loc0 . put ( loc1 . getName ( ) , ( arg0 == null ) ? false : ( arg0 . loc1 != null && arg0 . loc1 . equals ( loc1 . getName ( ) ) ) ) ; } return loc0 ; }