incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Created: (HAMA-38) Remove AbstractBase and make a new NumericUtil which is contains all numeric utilities.
Date Thu, 21 Aug 2008 10:56:44 GMT
Remove AbstractBase and make a new NumericUtil which is contains all numeric utilities.
---------------------------------------------------------------------------------------

                 Key: HAMA-38
                 URL: https://issues.apache.org/jira/browse/HAMA-38
             Project: Hama
          Issue Type: Improvement
          Components: implementation
            Reporter: Edward J. Yoon
            Assignee: Edward J. Yoon
             Fix For: 0.1.0


Instead of AbstractBase, make a Numeric class which is contains all numeric utilities.

----
Hello,

AbstractBase seems to be totally a helper, rather than a base class.
It's just for providing utility methods to use in a matrix.
I propose to get rid of it and change it to be a helper, with static methods.
Then we can use "import static" (a Java 5 feature) to import all
static methods, and use them in the same way as the current
implementation.

Because AbstractBase has no state, and all of its methods has no
side-effect, so it is not necessary to be in the class hierarchy.

Regards,

Chanwit

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message