[ 
https://issues.apache.org/jira/browse/MATH-1596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gilles Sadowski resolved MATH-1596.
-----------------------------------
    Resolution: Fixed

Interface removed in commit 787d42ef07e6dc8d7aa47a9156d851281a7f2954 ("master" 
branch).

> "RandomVectorGenerator" is-a "Supplier<double[]>"
> -------------------------------------------------
>
>                 Key: MATH-1596
>                 URL: https://issues.apache.org/jira/browse/MATH-1596
>             Project: Commons Math
>          Issue Type: Sub-task
>            Reporter: Gilles Sadowski
>            Priority: Trivial
>              Labels: api, functional, remove
>             Fix For: 4.0
>
>
> {{RandomVectorGenerator}} does not bring any added value from the POV of the 
> API users (as is now Commons Math).
> For example, in class {{BaseMultiStartMultivariateOptimizer}} (package 
> {{o.a.c.math4.legacy.optim}}), the {{RandomVectorGenerator}} constructor's 
> argument can be replaced by 
> [{{Supplier<double[]>}}|https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html]
>  without loss of semantics. [It even provides greater generality.]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to