@Test public void empty_list_constructor() { final MetricName name = MetricName.valueOf(EMPTY_LIST); assertTrue(name.getPath().isEmpty()); assertEquals("", name.getPathString()); assertEquals("", name.configString().toString()); assertEquals(MetricName.valueOf(), name); assertEquals(0, name.compareTo(MetricName.valueOf())); }
public static MetricName valueOf(String... path) { return CACHE.apply(new PathArray(path)); }
MetricName extends BasicPath<MetricName> implements Comparable<MetricName>, Path { public static MetricName valueOf(String... path) { return CACHE.apply(new PathArray(path)); } }
MetricName extends BasicPath<MetricName> implements Comparable<MetricName>, Path { public static MetricName valueOf(String... path) { return CACHE.apply(new PathArray(path)); } private  MetricName(PathArray path); }
MetricName extends BasicPath<MetricName> implements Comparable<MetricName>, Path { public static MetricName valueOf(String... path) { return CACHE.apply(new PathArray(path)); } private  MetricName(PathArray path); static MetricName valueOf(String... path); static MetricName valueOf(List<String> path); }
MetricName extends BasicPath<MetricName> implements Comparable<MetricName>, Path { public static MetricName valueOf(String... path) { return CACHE.apply(new PathArray(path)); } private  MetricName(PathArray path); static MetricName valueOf(String... path); static MetricName valueOf(List<String> path);  }