int function ( String arg0 , String arg1 ) { if ( arg0 . equals ( arg1 ) ) return 0 ; else if ( ANY . equals ( arg0 ) ) return - 1 ; else if ( ANY . equals ( arg1 ) ) return 1 ; else return arg0 . compareTo ( arg1 ) ; }
generic string comparison that considers the use of #any concode_field_sep String method concode_elem_sep String service concode_elem_sep Set<String> roles concode_elem_sep String ANY concode_elem_sep ServiceAccessRule WRITE_ALL concode_elem_sep ServiceAccessRule READ_ALL concode_field_sep void setService concode_elem_sep void setMethod concode_elem_sep String getKey concode_elem_sep String getValue concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep String getMethod concode_elem_sep int compareTo concode_elem_sep String getService concode_elem_sep Set<String> getRoles