public void remove(final OsmNode node) {
        if (node != endNode1 && node != endNode2) { // keep endnodes in hollow-map even when loaded (needed for escape analysis)
            hmap.remove(node);
        }
    }
Get a node from the map

@return the node for the given id if exist, else null
main/src/main/java/cgeo/geocaching/brouter/mapaccess/OsmNodesMap.java