Code example for SortedMap

Methods: put

0
 
    private static final SortedMap<String, EntryType> TYPES_MAP
            = new TreeMap<String, EntryType>();
 
    static { 
        TYPES_MAP.put("person", USER); // NOI18N
        TYPES_MAP.put("user", USER); // NOI18N
        TYPES_MAP.put("groupofurls", GROUP); // NOI18N
        TYPES_MAP.put("group", GROUP); // NOI18N
        TYPES_MAP.put("ds-virtual-static-group", GROUP); // NOI18N
        TYPES_MAP.put("groupofuniquenames", GROUP); // NOI18N
    } 
} 
Connect your IDE to all the code out there  Get Codota for Java