jesg/combinatoricslib

getNumberOfGeneratedObjects() returns long; ints only accepted by generateObjectsRange()

Opened this issue · 1 comments

What steps will reproduce the problem?
1. Go to documentation: 
https://combinatoricslib.googlecode.com/svn/tags/release21/doc/org/paukov/combin
atorics/IGenerator.html#generateObjectsRange(int, int)

2.  Subject line says the rest. What happens if the number of objects is 
greater than an int...and you need to access a latter sub-range with indices of 
size greater than an int (long, as returned by getNumberOfGeneratedObjects())?

Am I missing something?

Thanks.
Greg

Original issue reported on code.google.com by glpars...@gmail.com on 16 Apr 2015 at 9:06

Original comment by d.pau...@gmail.com on 16 Apr 2015 at 10:29

  • Changed state: Accepted