Package org.apache.commons.math.util
Interface NumberTransformer
- 
- All Known Implementing Classes:
 DefaultTransformer,TransformerMap
public interface NumberTransformerSubclasses implementing this interface can transform Objects to doubles. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doubletransform(java.lang.Object o)Implementing this interface provides a facility to transform from Object to Double. 
 - 
 
- 
- 
Method Detail
- 
transform
double transform(java.lang.Object o) throws MathExceptionImplementing this interface provides a facility to transform from Object to Double.- Parameters:
 o- the Object to be transformed.- Returns:
 - the double value of the Object.
 - Throws:
 MathException- if the Object can not be transformed into a Double.
 
 - 
 
 -