新建一个类代理原来的对象实现Comparable接口进行排序 import java.util.Arrays; import java.util.Comparator; import java.util.ArrayList; import java.util.Iterator; import java.util.Collections; /** * Definition for an interval. * public class Interval { * int start; * int end; * Interval() { start = 0; end...