Example usage for java.util.concurrent ConcurrentSkipListMap remove

List of usage examples for java.util.concurrent ConcurrentSkipListMap remove

Introduction

In this page you can find the example usage for java.util.concurrent ConcurrentSkipListMap remove.

Prototype

public V remove(Object key) 

Source Link

Document

Removes the mapping for the specified key from this map if present.

Usage

From source file:com.palantir.atlasdb.keyvalue.impl.InMemoryKeyValueService.java

@Override
public void delete(String tableName, Multimap<Cell, Long> keys) {
    ConcurrentSkipListMap<Key, byte[]> table = getTableMap(tableName).entries;
    for (Map.Entry<Cell, Long> e : keys.entries()) {
        table.remove(new Key(e.getKey(), e.getValue()));
    }/*from  www .j a  va2 s .  c om*/
}