@Test public void testInstantiation() { assertEquals("test", new CompositeRepoName("test", ".").getName("/")); assertEquals("test", CategoryName.ofList(Lists.newArrayList("test")) .getName("/")); }
public static CategoryName ofList(List<String> segments) { return new CategoryName(segments); }
CategoryName extends CompositeRepoName { public static CategoryName ofList(List<String> segments) { return new CategoryName(segments); } }
CategoryName extends CompositeRepoName { public static CategoryName ofList(List<String> segments) { return new CategoryName(segments); } private  CategoryName(String name); private  CategoryName(List<String> segments); }
CategoryName extends CompositeRepoName { public static CategoryName ofList(List<String> segments) { return new CategoryName(segments); } private  CategoryName(String name); private  CategoryName(List<String> segments); static CategoryName of(String name); static CategoryName ofUri(String fragment); static CategoryName ofList(List<String> segments); String asUri(); static CategoryName emptyName(); CategoryName getParent(); }
CategoryName extends CompositeRepoName { public static CategoryName ofList(List<String> segments) { return new CategoryName(segments); } private  CategoryName(String name); private  CategoryName(List<String> segments); static CategoryName of(String name); static CategoryName ofUri(String fragment); static CategoryName ofList(List<String> segments); String asUri(); static CategoryName emptyName(); CategoryName getParent();  }