Code example for NavigableMap

Methods: higherKey

0
	} 
 
	public K getNextKey(K key) {
		lock.lock();
		try { 
			return map.higherKey(key);
		} finally { 
			lock.unlock();
		} 
	} 
	 
	 
	public void keyRemoved(K key) {
		K nextKey = getNextKey(key);
		if (nextKey != null) {
			Value<V> nextValue = map.get(nextKey);
			if (nextValue != null) {
				V v = nextValue.get();
				if (v instanceof ObRow) {
					ObRow tablet = (ObRow)v;
					tablet.setFull(false);