1 salcianu 1.1.2.1 // RelationEntryVisitor.java, created Sat Feb 12 14:31:04 2000 by salcianu 2 cananian 1.1.2.2 // Copyright (C) 2000 Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu> 3 salcianu 1.1.2.1 // Licensed under the terms of the GNU GPL; see COPYING for details. 4 salcianu 1.1.2.1 package harpoon.Util.DataStructs; 5 salcianu 1.1.2.1 6 salcianu 1.1.2.1 /** 7 salcianu 1.1.2.1 * <code>RelationEntryVisitor</code> is a wrapper for a function that is 8 salcianu 1.1.2.1 called on a relation entry of the form <code><key,value></code>. 9 salcianu 1.1.2.1 There is no other way to pass a function in Java (no pointers to methods ...) 10 salcianu 1.1.2.1 * 11 cananian 1.1.2.2 * @author Alexandru SALCIANU <salcianu@retezat.lcs.mit.edu> 12 cananian 1.2 * @version $Id: RelationEntryVisitor.java,v 1.2 2002/02/25 21:09:19 cananian Exp $ 13 salcianu 1.1.2.1 */ 14 salcianu 1.1.2.1 public interface RelationEntryVisitor { 15 salcianu 1.1.2.1 /** Visits a <code><key,value></code> entry of a relation. */ 16 salcianu 1.1.2.1 public void visit(Object key, Object value); 17 cananian 1.2 }