public void appendItemToService(int service,EcuDataItem newItem){
  HashMap<Integer,Vector<EcuDataItem>> currSvc=get(service);
  if (currSvc == null) {
    currSvc=new HashMap<Integer,Vector<EcuDataItem>>();
    log.debug("+SVC: " + service + " - "+ currSvc);
  }
  Vector<EcuDataItem> currVec=currSvc.get(newItem.pid);
  if (currVec == null) {
    currVec=new Vector<EcuDataItem>();
    log.debug("+PID: " + newItem.pid + " - "+ currVec);
  }
  currVec.add(newItem);
  currSvc.put(newItem.pid,currVec);
  put(service,currSvc);
  log.debug("+" + service + "/"+ String.format("0x%02X",newItem.pid)+ " - "+ currVec);
}

public void appendItemToService ( int service , EcuDataItem newItem ) { HashMap < Integer , Vector < EcuDataItem > > currSvc = get ( service ) ; if ( currSvc == null ) { currSvc = new HashMap < Integer , Vector < EcuDataItem > > ( ) ; log . debug ( "+SVC: " + service + " - " + currSvc ) ; } Vector < EcuDataItem > currVec = currSvc . get ( newItem . pid ) ; if ( currVec == null ) { currVec = new Vector < EcuDataItem > ( ) ; log . debug ( "+PID: " + newItem . pid + " - " + currVec ) ; } currVec . add ( newItem ) ; currSvc . put ( newItem . pid , currVec ) ; put ( service , currSvc ) ; log . debug ( "+" + service + "/" + String . format ( "0x%02X" , newItem . pid ) + " - " + currVec ) ; }
append new data item to specified service
