[ 
https://issues.apache.org/jira/browse/NUMBERS-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18117304#comment-18117304
 ] 

Alex Herbert commented on NUMBERS-215:
--------------------------------------

Javadoc is only generated for public and protected members by default. We can 
configure it for private so it spots errors but then the javadocs would contain 
the private members. See [maven-javadoc-plugin javadoc:javadoc 
<show>|https://maven.apache.org/plugins/maven-javadoc-plugin/javadoc-mojo.html#show].

{code:java}
mvn javadoc:javadoc -Dshow=private
{code}

I think it would pick out quite a few errors. I tried it on Numbers and 
Statistics in a few packages and it found a few errors.

Perhaps it could be added as a specific goal in the CI build but not used 
during a release. 
 

> Stirling partitions generator
> -----------------------------
>
>                 Key: NUMBERS-215
>                 URL: https://issues.apache.org/jira/browse/NUMBERS-215
>             Project: Commons Numbers
>          Issue Type: New Feature
>          Components: combinatorics
>            Reporter: Gilles Sadowski
>            Assignee: Gilles Sadowski
>            Priority: Minor
>             Fix For: 1.4
>
>
> Would it be useful to provide functionality to *iterate* over the partitions 
> defined by "Stirling number of the second kind" (i.e. all partitions into K 
> subsets, of a set of N elements)?
> Code would be in a nested static class of the existing 
> [{{Stirling}}|https://commons.apache.org/proper/commons-numbers/commons-numbers-combinatorics/apidocs/src-html/org/apache/commons/numbers/combinatorics/Stirling.html]
>  class:
> {code}
> public final class Stirling {
>     // ...
>     public static final class S2 implements Iterable<List<List<Integer>> {
>          // ...
>          public static S2 of(int n, int k) {
>              // ...
>          }
>     }
> }
> {code}
> I have a potential use case (for very small "N").



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to