@Test public void testGroupCount() { List<FieldRow> groups = Collections.singletonList(FieldRow.create("f1", 42)); GroupCount g = GroupCount.create(groups, 10); assertEquals(Collections.singletonList(FieldRow.create("f1", 42)), g.getGroups()); assertEquals(10, g.getCount()); assertEquals("GroupCount(groups=[FieldRow(field=f1, rowID=42, rowKey=)], count=10)", g.toString()); }
private GroupCount(List<FieldRow> groups, long count) { this.groups = groups; this.count = count; }
GroupCount { private GroupCount(List<FieldRow> groups, long count) { this.groups = groups; this.count = count; } }
GroupCount { private GroupCount(List<FieldRow> groups, long count) { this.groups = groups; this.count = count; } private  GroupCount(List<FieldRow> groups, long count); }
GroupCount { private GroupCount(List<FieldRow> groups, long count) { this.groups = groups; this.count = count; } private  GroupCount(List<FieldRow> groups, long count); static GroupCount create(List<FieldRow> groups, long count); final List<FieldRow> getGroups(); long getCount(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString(); }
GroupCount { private GroupCount(List<FieldRow> groups, long count) { this.groups = groups; this.count = count; } private  GroupCount(List<FieldRow> groups, long count); static GroupCount create(List<FieldRow> groups, long count); final List<FieldRow> getGroups(); long getCount(); @Override boolean equals(Object obj); @Override int hashCode(); @Override String toString();  }