/** * Returns the child node for the given named path, lazily creating one if * it does not yet exist */ public DestinationMapNode getChildOrCreate(String path) { DestinationMapNode answer = (DestinationMapNode)childNodes.get(path); if (answer == null) { answer = createChildNode(); answer.path = path; childNodes.put(path, answer); } return answer; }
/** * Returns the child node for the given named path, lazily creating one if * it does not yet exist */ public DestinationMapNode getChildOrCreate(String path) { DestinationMapNode answer = (DestinationMapNode)childNodes.get(path); if (answer == null) { answer = createChildNode(); answer.path = path; childNodes.put(path, answer); } return answer; }
/** * Returns the child node for the given named path, lazily creating one if * it does not yet exist */ public DestinationMapNode getChildOrCreate(String path) { DestinationMapNode answer = (DestinationMapNode)childNodes.get(path); if (answer == null) { answer = createChildNode(); answer.path = path; childNodes.put(path, answer); } return answer; }
/** * Returns the child node for the given named path, lazily creating one if * it does not yet exist */ public DestinationMapNode getChildOrCreate(String path) { DestinationMapNode answer = (DestinationMapNode)childNodes.get(path); if (answer == null) { answer = createChildNode(); answer.path = path; childNodes.put(path, answer); } return answer; }
/** * Returns the child node for the given named path, lazily creating one if * it does not yet exist */ public DestinationMapNode getChildOrCreate(String path) { DestinationMapNode answer = (DestinationMapNode)childNodes.get(path); if (answer == null) { answer = createChildNode(); answer.path = path; childNodes.put(path, answer); } return answer; }