@Test public void inequality() { GroupName g1 = GroupName.valueOf(SimpleGroupPath.valueOf("foo", "bar")); GroupName g2 = GroupName.valueOf(SimpleGroupPath.valueOf("foo", "baz")); GroupName g3 = GroupName.valueOf(SimpleGroupPath.valueOf("foo", "baz"), Tags.valueOf(singletonMap("foo", MetricValue.TRUE))); GroupName g4 = GroupName.valueOf(SimpleGroupPath.valueOf("foo", "baz"), Tags.valueOf(singletonMap("foo", MetricValue.FALSE))); assertNotEquals(g1, g2); assertNotEquals(g1, g3); assertNotEquals(g1, g4); assertNotEquals(g2, g1); assertNotEquals(g2, g3); assertNotEquals(g2, g4); assertNotEquals(g3, g1); assertNotEquals(g3, g2); assertNotEquals(g3, g4); assertNotEquals(g4, g1); assertNotEquals(g4, g2); assertNotEquals(g4, g3); }
public static GroupName valueOf(String... path) { return valueOf(SimpleGroupPath.valueOf(path)); }
GroupName implements Serializable, Comparable<GroupName>, Tagged { public static GroupName valueOf(String... path) { return valueOf(SimpleGroupPath.valueOf(path)); } }
GroupName implements Serializable, Comparable<GroupName>, Tagged { public static GroupName valueOf(String... path) { return valueOf(SimpleGroupPath.valueOf(path)); } private  GroupName(SimpleGroupPath path, Tags tags); }
GroupName implements Serializable, Comparable<GroupName>, Tagged { public static GroupName valueOf(String... path) { return valueOf(SimpleGroupPath.valueOf(path)); } private  GroupName(SimpleGroupPath path, Tags tags); static GroupName valueOf(String... path); static GroupName valueOf(SimpleGroupPath path); static GroupName valueOf(SimpleGroupPath path, Tags tags); static GroupName valueOf(SimpleGroupPath path, Map<String, MetricValue> tags); static GroupName valueOf(SimpleGroupPath path, Stream<Map.Entry<String, MetricValue>> tags); @Override Tags getTags(); SimpleGroupPath getPath(); String getPathString(); StringBuilder configString(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(GroupName o); }
GroupName implements Serializable, Comparable<GroupName>, Tagged { public static GroupName valueOf(String... path) { return valueOf(SimpleGroupPath.valueOf(path)); } private  GroupName(SimpleGroupPath path, Tags tags); static GroupName valueOf(String... path); static GroupName valueOf(SimpleGroupPath path); static GroupName valueOf(SimpleGroupPath path, Tags tags); static GroupName valueOf(SimpleGroupPath path, Map<String, MetricValue> tags); static GroupName valueOf(SimpleGroupPath path, Stream<Map.Entry<String, MetricValue>> tags); @Override Tags getTags(); SimpleGroupPath getPath(); String getPathString(); StringBuilder configString(); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override int compareTo(GroupName o);  }