GenericLocation function ( String arg0 ) { String loc0 = "srini_string" ; String loc1 = arg0 ; if ( arg0 . contains ( "srini_string" ) ) { String [ ] loc2 = arg0 . split ( "srini_string" , 2 ) ; loc0 = loc2 [ 0 ] ; loc1 = loc2 [ 1 ] ; } return new GenericLocation ( loc0 , loc1 ) ; }
creates the genericlocation by parsing a `` name : : place '' string , where `` place '' is a latitude , longitude string or a vertex id . concode_field_sep Integer edgeId concode_elem_sep Double lng concode_elem_sep Double heading concode_elem_sep String name concode_elem_sep String place concode_elem_sep Pattern _latLonPattern concode_elem_sep Pattern _headingPattern concode_elem_sep Pattern _edgeIdPattern concode_elem_sep Double lat concode_elem_sep String _doublePattern concode_field_sep boolean hasPlace concode_elem_sep boolean hasCoordinate concode_elem_sep boolean hasName concode_elem_sep Coordinate getCoordinate concode_elem_sep boolean hasHeading concode_elem_sep NamedPlace getNamedPlace concode_elem_sep GenericLocation clone concode_elem_sep boolean hasEdgeId concode_elem_sep String toString concode_elem_sep String toDescriptiveString