@DisplayName("test_compare_Asc") @Test void testCompareAsc() { List<Class> list = new ArrayList<>(); list.add(Order2.class); list.add(Order1.class); list = comparator.compare(list); assertEquals(Order1.class, list.get(0)); assertEquals(Order2.class, list.get(1)); }
@Override public List<T> compare(List<T> list) { return compare(list, true); }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); } }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); }  }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); }  @Override List<T> compare(List<T> list); @Override List<T> compare(List<T> list, final boolean asc); }
DefaultOrderComparator implements OrderComparator<T> { @Override public List<T> compare(List<T> list) { return compare(list, true); }  @Override List<T> compare(List<T> list); @Override List<T> compare(List<T> list, final boolean asc);  }