@Test public void testEqualsTwoInstances() { BucketCounts counter2 = new BucketCounts.Builder().withLabel(label) .withJointActionCounts(jointActionCounts).withImpressionCounts(impressionCounts) .withActionCounts(actionCounts).build(); assertThat(counter, equalTo(counter2)); assertThat(counter, equalTo(counter2.clone())); }
@Override public BucketCounts clone() { return (BucketCounts) super.clone(); }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); } }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); }  }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); }  Bucket.Label getLabel(); void setLabel(Bucket.Label value); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override BucketCounts clone(); }
BucketCounts extends AbstractContainerCounts { @Override public BucketCounts clone() { return (BucketCounts) super.clone(); }  Bucket.Label getLabel(); void setLabel(Bucket.Label value); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); @Override BucketCounts clone();  }