public abstract int compare(String source,String target);

public abstract int compare ( String source , String target ) ;
compares the source string to the target string according to the collation rules for this collator . returns an integer less than , equal to or greater than zero depending on whether the source string is less than , equal to or greater than the target string . see the collator class description for an example of use . < p > for a one time comparison , this method has the best performance . if a given string will be involved in multiple comparisons , collationkey . compareto has the best performance . see the collator class description for an example using collationkeys .
