001/* 002 * Copyright (c) 2012-2018 Institut National des Sciences Appliquées de Lyon (INSA Lyon) and others 003 * 004 * This program and the accompanying materials are made available under the 005 * terms of the Eclipse Public License 2.0 which is available at 006 * http://www.eclipse.org/legal/epl-2.0. 007 * 008 * SPDX-License-Identifier: EPL-2.0 009 */ 010 011package org.eclipse.golo.compiler.utils; 012 013import java.util.Map; 014import java.util.Set; 015import java.util.Collection; 016 017public interface Register<K, V> extends Map<K, Set<V>> { 018 void add(K key, V value); 019 void addAll(K key, Collection<V> values); 020 void updateKey(K oldKey, K newKey); 021} 022