Is there a method in java that can take 2 numbers and give you the numbers that are in between them(

Posted by Zeroe on Stack Overflow See other posts from Stack Overflow or by Zeroe
Published on 2010-04-28T23:24:32Z Indexed on 2010/04/28 23:27 UTC
Read the original article Hit count: 206

I read in a file with a few numbers using a scanner, and then split them using the split method. My main issue is if there is a method that can just give me ranges, probably in the math class. The numbers are currently in an array, and I wanna move those numbers and there ranges into a two-dimensional array. Could anyone give me some tips or tricks to go about that?

© Stack Overflow or respective owner

Related posts about arrays

Related posts about multidimensional-array