TreeMap implements SotredMap interface, which is an ordered collection. And a red-black tree structure, are each key-value as a red-black tree node. If no TreeMap comparator when calling the constructor is performed according to the natural ordering key. If the comparator in accordance with the specified comparator for sorting.
eg: We add data to the treeMap, it will add the default data stored sorted according to the key code value ascll,
the following data will be used to apply the encryption function
treeMap use?
Guess you like
Origin blog.csdn.net/Arry_Coding/article/details/103564669
Ranking