Edge [ ] function ( Edge [ ] arg0 , Edge arg1 ) { Edge [ ] loc0 = new Edge [ arg0 . length + 1 ] ; int loc1 ; for ( loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { if ( arg0 [ loc1 ] == arg1 ) { LOG . error ( "srini_string" , arg1 ) ; return arg0 ; } loc0 [ loc1 ] = arg0 [ loc1 ] ; } loc0 [ loc1 ] = arg1 ; return loc0 ; }
a static helper method to avoid repeated code for outgoing and incoming lists . synchronization must be handled by the caller , to avoid passing edge array pointers that may be invalidated . concode_field_sep long serialVersionUID concode_elem_sep I18NString name concode_elem_sep double x concode_elem_sep Edge[] incoming concode_elem_sep Logger LOG concode_elem_sep int index concode_elem_sep double y concode_elem_sep String label concode_elem_sep int maxIndex concode_elem_sep Edge[] outgoing concode_field_sep String getName concode_elem_sep String getName concode_elem_sep String getLabel concode_elem_sep int getDegreeOut concode_elem_sep int getIndex concode_elem_sep Edge[] removeEdge concode_elem_sep void addIncoming concode_elem_sep double azimuthTo concode_elem_sep double azimuthTo concode_elem_sep int hashCode concode_elem_sep List<Edge> getOutgoingStreetEdges concode_elem_sep int getDegreeIn concode_elem_sep double getLon concode_elem_sep double getLat concode_elem_sep Collection<Edge> getOutgoing concode_elem_sep void writeObject concode_elem_sep void readObject concode_elem_sep int getMaxIndex concode_elem_sep double getX concode_elem_sep Coordinate getCoordinate concode_elem_sep boolean removeOutgoing concode_elem_sep double getY concode_elem_sep boolean removeIncoming concode_elem_sep void setIndex concode_elem_sep void addOutgoing concode_elem_sep String toString concode_elem_sep Collection<Edge> getIncoming