View Javadoc

1   /*
2    *  File: MapWatcher.java 
3    *  Copyright (c) 2004-2007  Peter Kliem (Peter.Kliem@jaret.de)
4    *  A commercial license is available, see http://www.jaret.de.
5    *
6    * All rights reserved. This program and the accompanying materials
7    * are made available under the terms of the Common Public License v1.0
8    * which accompanies this distribution, and is available at
9    * http://www.eclipse.org/legal/cpl-v10.html
10   */
11  package de.jaret.util.collections;
12  
13  /**
14   * @author Peter Kliem
15   * @version $id$
16   */
17  public interface MapWatcher {
18      public void elementAdded(Object key, Object value);
19  
20      public void elementRemoved(Object key, Object value);
21  }