Is there anything like Enumerable.Range(x,y) in Java?

Posted by Simon on Stack Overflow See other posts from Stack Overflow or by Simon
Published on 2010-06-01T14:01:57Z Indexed on 2010/06/01 14:03 UTC
Read the original article Hit count: 228

Filed under:
|
|
|
|

Hello there.

Is there something like C#/.NET's

IEnumerable<int> range = Enumerable.Range(0, 100); //.NET

in Java?

© Stack Overflow or respective owner

Related posts about c#

Related posts about java