@Test public void getPathString() { assertEquals("foo", MetricName.valueOf("foo").getPathString()); assertEquals("'99'", MetricName.valueOf("99").getPathString()); assertEquals("'\\r'", MetricName.valueOf("\r").getPathString()); assertEquals("'3'.'14159'", MetricName.valueOf("3", "14159").getPathString()); assertEquals("''", MetricName.valueOf("").getPathString()); }
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);  }