returns the endpoint nearest to the given node . concode_field_sep long serialVersionUID concode_elem_sep Endpoint endpoint1 concode_elem_sep Endpoint endpoint2 concode_elem_sep Node node2 concode_elem_sep Node node1 concode_field_sep Edge serializableInstance concode_elem_sep Node getNode2 concode_elem_sep Node getNode1 concode_elem_sep void setEndpoint2 concode_elem_sep Endpoint getDistalEndpoint concode_elem_sep void setEndpoint1 concode_elem_sep int compareTo concode_elem_sep Endpoint getEndpoint1 concode_elem_sep Edge reverse concode_elem_sep Endpoint getEndpoint2 concode_elem_sep void readObject concode_elem_sep Node getDistalNode concode_elem_sep void setProximalEndpoint concode_elem_sep boolean isDirected concode_elem_sep boolean pointsTowards concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean isNull concode_elem_sep String toString concode_elem_sep boolean pointingLeft
Endpoint function ( Node arg0 ) { if ( this . node1 == arg0 ) { return getEndpoint1 ( ) ; } else if ( this . node2 == arg0 ) { return getEndpoint2 ( ) ; } return null ; }