[
https://issues.apache.org/jira/browse/MATH-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350311#comment-16350311
]
Gilles commented on MATH-1448:
------------------------------
bq. quite easy to make it implement `Number` interface
?
[Number|https://docs.oracle.com/javase/8/docs/api/java/lang/Number.html] is not
an interface.
Please give a concrete example of what you wish to achieve.
Also, it would be helpful if you could take a look at issue NUMBERS-51 (and the
related code in branch "feature__NUMBERS-51__field").
> Make RealFieldElement implement Number
> --------------------------------------
>
> Key: MATH-1448
> URL: https://issues.apache.org/jira/browse/MATH-1448
> Project: Commons Math
> Issue Type: Wish
> Reporter: Alexander Nozik
> Priority: Trivial
>
> RealFieldElement in some cases could be used as a substitute for a generic
> `Number` and it quite easy to make it implement `Number` interface. Perhaps
> it would be better to inherit it form number to allow universal treatment.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)