📅  最后修改于: 2022-03-11 14:48:13.127000             🧑  作者: Mango
TreeSets, are datastructures that require unique elements and are sorted. This is because treeset is a mix of binary tree(sorted) and a set which cannot contain unique elements.