public static void collectIdsOn(
     Collection<Integer> target, Collection<AcDomesticCandidateRouteOffer> source) {
   for (AcDomesticCandidateRouteOffer e : source) {
     if (e == null) continue;
     Integer id = e.getId();
     if (id == null) continue;
     if (target.contains(id)) continue;
     target.add(e.getId());
   }
 }
 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;
 }
 public boolean isSame(AcDomesticCandidateRouteOffer e) {
   if (!JwUtility.isEqual(getId(), e.getId())) return false;
   return isSameIgnoringKey(e);
 }