class DefaultIndexHandler implements IndexHandler<K, V> {

  public void remove(final K key, final V value) {
    for (final String attributeName : indexes.keySet()) {
      final Object indexedKey = getFieldValue(attributeName, value);
      if (indexedKey == null) {
        throw new NullPointerException();
      }
      indexes.get(attributeName).remove(indexedKey, key);
    }
  }

  public  DefaultIndexHandler();

}