public static JwMap<Integer, AcUspsDomesticSkeletonRouteOffer> toIdMap( Collection<AcUspsDomesticSkeletonRouteOffer> v) { JwMap<Integer, AcUspsDomesticSkeletonRouteOffer> m = new JwMap<Integer, AcUspsDomesticSkeletonRouteOffer>(); for (AcUspsDomesticSkeletonRouteOffer e : v) m.put(e.getId(), e); return m; }
public static JwMap<Integer, AcDomesticCandidateRouteOffer> toIdMap( Collection<AcDomesticCandidateRouteOffer> v) { JwMap<Integer, AcDomesticCandidateRouteOffer> m = new JwMap<Integer, AcDomesticCandidateRouteOffer>(); for (AcDomesticCandidateRouteOffer e : v) m.put(e.getId(), e); return m; }