ArgNodeComparators { public static ArgNodeComparator creationDesc() { return invert(creationAsc()); } private  ArgNodeComparators(); static ArgNodeComparator creationAsc(); static ArgNodeComparator creationDesc(); static ArgNodeComparator invert(final ArgNodeComparator comparator); static ArgNodeComparator combine(final ArgNodeComparator first, final ArgNodeComparator then); static ArgNodeComparator bfs(); static ArgNodeComparator dfs(); static ArgNodeComparator targetFirst();  }
@Test public void testCreationDesc() { nodes.sort(creationDesc()); Assert.assertArrayEquals(new ArgNode[]{s12, s11, s21, s20, s10, s0}, nodes.toArray()); }