int function ( Route arg0 ) { return ( ( Integer ) switchPorts . size ( ) ) . compareTo ( arg0 . switchPorts . size ( ) ) ; }
compares the path lengths between routes . concode_field_sep List<NodePortTuple> switchPorts concode_elem_sep RouteId id concode_elem_sep int routeCount concode_field_sep int hashCode concode_elem_sep void setRouteCount concode_elem_sep int getRouteCount concode_elem_sep boolean equals concode_elem_sep List<NodePortTuple> getPath concode_elem_sep void setId concode_elem_sep void setPath concode_elem_sep RouteId getId concode_elem_sep String toString