question: returns an id - > resource mapping of all disk resources listed in the provided offer , or an empty list of no disk resources are found . concode_field_sep Logger logger concode_elem_sep Set<String> expectedReservedResourceIds concode_elem_sep Set<String> expectedPersistentVolumeIds concode_field_sep Set<String> getReservedResourceIds concode_elem_sep Collection<Resource> getExpectedResources concode_elem_sep Collection<Resource> selectUnexpectedResources concode_elem_sep Map<String,Resource> getReservedResourcesById concode_elem_sep List<OfferRecommendation> evaluate concode_elem_sep Set<String> getPersistentVolumeIds
target: Map < String , Resource > function ( Offer arg0 ) { Map < String , Resource > loc0 = new HashMap < String , Resource > ( ) ; for ( Resource loc1 : arg0 . getResourcesList ( ) ) { String loc2 = ResourceUtils . getPersistenceId ( loc1 ) ; if ( loc2 != null ) { loc0 . put ( loc2 , loc1 ) ; } } return loc0 ; }