William-Yeh / combinatoricslib

Automatically exported from code.google.com/p/combinatoricslib
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago

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