コード例 #1
0
 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;
 }
コード例 #2
0
 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;
 }