/*
* Created on Aug 5, 2007
*
* Copyright (c) 2007, the JUNG Project and the Regents of the University
* of California
* All rights reserved.
*
* This software is open-source under the BSD license; see either
* "license.txt" or
* http://jung.sourceforge.net/license.txt for a description.
*/
package edu.uci.ics.jung.algorithms.util;
import org.apache.commons.collections15.Transformer;
/**
* An interface for classes that can set the value to be returned (from transform()
)
* when invoked on a given input.
*
* @author Joshua O'Madadhain
*/
public interface SettableTransformer extends Transformer
{
/**
* Sets the value (output
) to be returned by a call to
* transform(input)
).
* @param input
* @param output
*/
public void set(I input, O output);
}