单项选择题

TreeSet是基于红黑树、实现了Set接口,具有排序功能的()

A.Set集合
B.List集合
C.Queue集合
D.HashSet集合