org.apache.commons.math3.util

## Interface NumberTransformer

- All Known Implementing Classes:
    DefaultTransformer, TransformerMap

      public interface NumberTransformer

  Subclasses implementing this interface can transform Objects to doubles.
  Version:
    $Id: NumberTransformer.java 1244107 2012-02-14 16:17:55Z erans $ No longer extends Serializable since 2.0

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `transform(Object o)` Implementing this interface provides a facility to transform from Object to Double.

- - ### Method Detail

    - #### transform

          double transform(Object o)
                           throws MathIllegalArgumentException

      Implementing 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:
        `MathIllegalArgumentException` - if the Object can not be transformed into a Double.

Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.