/** * Gets an array of edge nabors of the specified node. * @param node the node for which to get nabors. * @return the array of nabors. */ public synchronized Edge[] getEdgeNabors(Node node) { EdgeList nabors = new EdgeList(); getEdgeNabors(node,nabors); return nabors.trim(); }