📜  java代码示例中的treeset

📅  最后修改于: 2022-03-11 14:52:39.583000             🧑  作者: Mango

代码示例3
TreeSet: Can contain only unique values and it is sorted in ascending order
TreeMap: Can contain only unique keys and keys are sorted in ascending order.