.使用TreeSet和Comparator,写TreeSetTest1
要求:对TreeSet中的元素"HashSet"、“ArrayList”、“TreeMap”、“HashMap”、“TreeSet”、"LinkedList"进行升序和倒序排列
package com.briup.bt3.day30;
import java.util.*;
public class TreeSetTest1 {
public static void main(String[] args) {
// TODO 自动生成的方法存根
Set set=new TreeSet();
//输入值
set.add(&