@Test public void compare() { SimpleGroupPath p0 = SimpleGroupPath.valueOf(); SimpleGroupPath p1 = SimpleGroupPath.valueOf("a"); SimpleGroupPath p2 = SimpleGroupPath.valueOf("a", "b"); SimpleGroupPath p3 = SimpleGroupPath.valueOf("b"); assertTrue(p0.compareTo(p1) < 0); assertTrue(p0.compareTo(p2) < 0); assertTrue(p0.compareTo(p3) < 0); assertTrue(p1.compareTo(p0) > 0); assertTrue(p1.compareTo(p2) < 0); assertTrue(p1.compareTo(p3) < 0); assertTrue(p2.compareTo(p0) > 0); assertTrue(p2.compareTo(p1) > 0); assertTrue(p2.compareTo(p3) < 0); assertTrue(p3.compareTo(p0) > 0); assertTrue(p3.compareTo(p1) > 0); assertTrue(p3.compareTo(p2) > 0); assertTrue(p0.compareTo(null) > 0); assertTrue(p1.compareTo(null) > 0); assertTrue(p2.compareTo(null) > 0); assertTrue(p3.compareTo(null) > 0); }
public static SimpleGroupPath valueOf(String... path) { return CACHE.apply(new PathArray(path)); }
SimpleGroupPath extends BasicPath<SimpleGroupPath> implements Comparable<SimpleGroupPath>, Path { public static SimpleGroupPath valueOf(String... path) { return CACHE.apply(new PathArray(path)); } }
SimpleGroupPath extends BasicPath<SimpleGroupPath> implements Comparable<SimpleGroupPath>, Path { public static SimpleGroupPath valueOf(String... path) { return CACHE.apply(new PathArray(path)); } private  SimpleGroupPath(PathArray path); }
SimpleGroupPath extends BasicPath<SimpleGroupPath> implements Comparable<SimpleGroupPath>, Path { public static SimpleGroupPath valueOf(String... path) { return CACHE.apply(new PathArray(path)); } private  SimpleGroupPath(PathArray path); static SimpleGroupPath valueOf(String... path); static SimpleGroupPath valueOf(List<String> path); }
SimpleGroupPath extends BasicPath<SimpleGroupPath> implements Comparable<SimpleGroupPath>, Path { public static SimpleGroupPath valueOf(String... path) { return CACHE.apply(new PathArray(path)); } private  SimpleGroupPath(PathArray path); static SimpleGroupPath valueOf(String... path); static SimpleGroupPath valueOf(List<String> path);  }