class LocalDuplicateIndex extends LocalMapIndex<UniqueKey<T>, T> {

    @Override
    public void remove( String nodeKey,
                        String propertyName, 
                        T value ) {
        // Find all of the T values (entry keys) for the given node key (entry values) and remove those which have value 'value'
        for (UniqueKey<T> key : Fun.filter(valuesByKey, nodeKey)) {
            if (key.actualKey.equals(value)) {
                logger.trace("Removing node '{0}' from '{1}' index with value '{2}'", nodeKey, name, key.actualKey);
                keysByValue.remove(key);
            }
        }
    }

    protected  LocalDuplicateIndex( String name,
                                   String workspaceName,
                                   DB db,
                                   Converter<T> converter,
                                   Serializer<T> valueSerializer,
                                   Comparator<T> comparator );

}