Code example for Multiset

Methods: elementSet

0
        return ((float)counts.count(event)) / total;
    } 
 
    @Override 
    public Set<T> events() {
        return counts.elementSet();
    } 
 
    @Override 
    public float epsilon() { 
        return 0.1f / total;
    } 
 
} 
Experience pair programming with AI  Get Codota for Java