creates a new node when there 's no node at the given position yet . if there 's already a node , return this existing node it might have different neighbors then the given list of neighbor nodes . concode_field_sep Map<Point,RailwayNode> __nodeMap concode_field_sep void add concode_elem_sep boolean isNodeAt concode_elem_sep void drawAllNodes concode_elem_sep void removeNodesWithoutNeighbors concode_elem_sep boolean doesExist concode_elem_sep RailwayNode getNodeByPosition concode_elem_sep void unlockAllSignals
RailwayNode function ( Point arg0 , List < RailwayNode > arg1 ) { if ( isNodeAt ( arg0 ) ) { return __nodeMap . get ( arg0 ) ; } else { RailwayNode loc0 = new RailwayNode ( arg0 , arg1 ) ; add ( loc0 ) ; return loc0 ; } }