@ Pure public static int compareAttrNames ( String arg0 , String arg1 ) { if ( arg0 == arg1 ) { return 0 ; } if ( arg0 == null ) { return Integer . MAX_VALUE ; } if ( arg1 == null ) { return Integer . MIN_VALUE ; } return arg0 . compareToIgnoreCase ( arg1 ) ; }
Compare the two specified attribute names .