2 * Created on Aug 5, 2007
4 * Copyright (c) 2007, the JUNG Project and the Regents of the University
8 * This software is open-source under the BSD license; see either
10 * http://jung.sourceforge.net/license.txt for a description.
12 package edu.uci.ics.jung.algorithms.util;
14 import org.apache.commons.collections15.Transformer;
17 * An interface for classes that can set the value to be returned (from <code>transform()</code>)
18 * when invoked on a given input.
20 * @author Joshua O'Madadhain
22 public interface SettableTransformer<I, O> extends Transformer<I, O>
25 * Sets the value (<code>output</code>) to be returned by a call to
26 * <code>transform(input)</code>).
30 public void set(I input, O output);