CDK-532: Remove primitive compare methods for java6.
CDK-532: Add tests for CharSequences.