~ubuntu-branches/ubuntu/trusty/commons-math/trusty

« back to all changes in this revision

Viewing changes to src/main/java/org/apache/commons/math/util/NumberTransformer.java

  • Committer: Bazaar Package Importer
  • Author(s): Damien Raude-Morvan
  • Date: 2010-04-05 23:33:02 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100405233302-gpqlceked76nw28a
Tags: 2.1-1
* New upstream release.
* Bump Standards-Version to 3.8.4: no changes needed
* Bump debhelper to >= 7
* Switch to 3.0 (quilt) source format:
  - Remove B-D on quilt
  - Add d/source/format
  - Remove d/README.source

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
/**
22
22
 * Subclasses implementing this interface can transform Objects to doubles.
23
 
 * @version $Revision: 777530 $ $Date: 2009-05-22 10:04:56 -0400 (Fri, 22 May 2009) $
24
 
 * 
 
23
 * @version $Revision: 811685 $ $Date: 2009-09-05 13:36:48 -0400 (Sat, 05 Sep 2009) $
 
24
 *
25
25
 * No longer extends Serializable since 2.0
26
 
 * 
 
26
 *
27
27
 */
28
28
public interface NumberTransformer {
29
 
    
 
29
 
30
30
    /**
31
31
     * Implementing this interface provides a facility to transform
32
32
     * from Object to Double.
33
 
     * 
 
33
     *
34
34
     * @param o the Object to be transformed.
35
35
     * @return the double value of the Object.
36
 
     * @throws MathException if the Object can not be transformed into a Double. 
 
36
     * @throws MathException if the Object can not be transformed into a Double.
37
37
     */
38
38
    double transform(Object o) throws MathException;
39
 
}
 
 
b'\\ No newline at end of file'
 
39
}