Code example for ConcurrentHashMap

Methods: keySet

0
 
    /** 
     *  @return set of objects with counts > 0 
     */ 
    public Set<K> objects() {
        return this.map.keySet();
    } 
 
    /** 
     *  start over 
     *  @since 0.7.11 
     */ 
    public void clear() { 
        this.map.clear();
    } 
}