Code example for ConcurrentHashMap

Methods: keySet

0
    } 
 
 
    @Override 
    public Iterator<BytesKey> keyIterator() { 
        return this.map.keySet().iterator(); 
    } 
 
 
    @Override 
    public void put(final BytesKey key, final OpItem opItem) { 
        this.map.put(key, opItem); 
    } 
 
 
    @Override 
    public void putAll(final Map<BytesKey, OpItem> map) { 
        this.map.putAll(map); 
    }