NumberTransformer classes should be Serializable

since they are used as fields of the Serializable TransformerMap class

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@611497 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Luc Maisonobe 2008-01-12 22:07:09 +00:00
parent 080a51a420
commit 0b3bfc1d4a
1 changed files with 3 additions and 1 deletions

View File

@ -16,13 +16,15 @@
*/
package org.apache.commons.math.util;
import java.io.Serializable;
import org.apache.commons.math.MathException;
/**
* Subclasses implementing this interface can transform Objects to doubles.
* @version $Revision$ $Date$
*/
public interface NumberTransformer {
public interface NumberTransformer extends Serializable {
/**
* Implementing this interface provides a facility to transform