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