public int compare ( String a , String b ) { int i ; if ( collator == null ) { i = a . compareTo ( b ) ; } else { i = collator . compare ( a , b ) ; } return ( i == 0 ) ? 0 : ( i < 0 ? - 1 : 1 ) ; }
returns - 1 0 or + 1