commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Tompkins (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MATH-1329) RealVector.Entry is private, cannot be used outside class
Date Wed, 12 Apr 2017 00:12:41 GMT

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

Rob Tompkins updated MATH-1329:
-------------------------------
    Fix Version/s: 4.0

> RealVector.Entry is private, cannot be used outside class
> ---------------------------------------------------------
>
>                 Key: MATH-1329
>                 URL: https://issues.apache.org/jira/browse/MATH-1329
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.6
>         Environment: Any
>            Reporter: Ziqi
>             Fix For: 4.0
>
>
> RealVector class has two methods that return an iterator to allow iterating through the
entries in the vector:
> RealVector.sparseIterator()
> RealVector.iterator()
> Both return Iterator<RealVector.Entry>
> However, RealVector.Entry is a private class defined within RealVector. As a result,
it is not possible to use the returned iterator to go through the values outside the class
RealVector.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message