public void loadSecondStage(Dictionary dictionaries) { Dictionary laneDictionary = (Dictionary) (dictionaries.get("lane")), nodeDictionary = (Dictionary) (dictionaries.get("node")); tl = ((Drivelane) (laneDictionary.get(new Integer(loadData.oldTlId)))).getSign(); tl_new = ((Drivelane) (laneDictionary.get(new Integer(loadData.newTlId)))).getSign(); destination = (Node) (nodeDictionary.get(new Integer(loadData.destNodeId))); }
public void loadSecondStage (Dictionary dictionaries) throws XMLInvalidInputException { Dictionary laneDictionary=(Dictionary)(dictionaries.get("lane")), nodeDictionary=(Dictionary)(dictionaries.get("node")); Drivelane lane=(Drivelane)(laneDictionary.get(new Integer(loadData.oldTlId))); if ( ! ((Hashtable)(laneDictionary)).containsKey (new Integer(loadData.oldTlId))) throw new XMLInvalidInputException ("Trying to load non-existant TL with id "+ loadData.oldTlId); tl=((Drivelane)(laneDictionary.get( new Integer(loadData.oldTlId)))).getSign(); tl_new=((Drivelane)(laneDictionary.get( new Integer(loadData.newTlId)))).getSign(); destination=(Node)(nodeDictionary.get( new Integer(loadData.destNodeId))); }
public void loadSecondStage (Dictionary dictionaries) { Dictionary laneDictionary=(Dictionary)(dictionaries.get("lane")); tl=((Drivelane)(laneDictionary.get( new Integer(loadData.tlId)))).getSign(); }
public void loadSecondStage(Dictionary dictionaries) throws XMLInvalidInputException, XMLTreeException { Dictionary laneDictionary = (Dictionary) (dictionaries.get("lane")); tl = ((Drivelane) (laneDictionary.get(new Integer(loadData.tlId)))).getSign(); }