@Test public void testPfAdd() { HllV5 hll = HllV5.newBuilder().build(); for (int i = 1; i <= 1000; i++) { hll.pfAdd(String.valueOf(i).getBytes(StandardCharsets.UTF_8)); } assertThat(hll.pfCount()).isEqualTo(1001L); hll.pfAdd("1001".getBytes(StandardCharsets.UTF_8)); assertThat(hll.pfCount()).isEqualTo(1002L); }
public boolean pfAdd(byte[] element) { return hllhdr.hllAdd(element); }
HllV5 { public boolean pfAdd(byte[] element) { return hllhdr.hllAdd(element); } }
HllV5 { public boolean pfAdd(byte[] element) { return hllhdr.hllAdd(element); } HllV5(byte[] representation);   HllV5(); }
HllV5 { public boolean pfAdd(byte[] element) { return hllhdr.hllAdd(element); } HllV5(byte[] representation);   HllV5(); long pfCount(); boolean pfAdd(byte[] element); HllV5 pfMerge(HllV5... others); byte[] dumpRepr(); static HllV5Builder newBuilder(); }
HllV5 { public boolean pfAdd(byte[] element) { return hllhdr.hllAdd(element); } HllV5(byte[] representation);   HllV5(); long pfCount(); boolean pfAdd(byte[] element); HllV5 pfMerge(HllV5... others); byte[] dumpRepr(); static HllV5Builder newBuilder();  }