@Test public void inequality() { final MetricName n0 = MetricName.valueOf("a", "a"); final MetricName n1 = MetricName.valueOf("a", "b"); assertNotEquals(n0, n1); assertTrue(n0.compareTo(n1) < 0); assertTrue(n1.compareTo(n0) > 0); }
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);  }