Code example for Collator

Methods: compare

    private final static Comparator<Map<String, ?>> sDisplayNameComparator = new Comparator<Map<String, ?>>() {
        private final Collator collator = Collator.getInstance(); 
        public int compare(Map<String,?> map1, Map<String,?> map2) { 
            return"title"), map2.get("title")); 
    protected Intent activityIntent(String pkg, String componentName) {
        Intent result = new Intent();
        result.setClassName(pkg, componentName);
        return result;
    protected Intent browserIntent(String path) {
        Intent result = new Intent();
        result.setClass(this, Cocos2D.class);
        result.putExtra("org.cocos2d.tests.Path", path);
        return result;
Connect your IDE to all the code out there  Get Codota for Java