Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static int[] strToInt(List<String> str) {
- int i = 1;
- int x = 0;
- int[] file = new int[str.size()];
- for (String s : str) {
- file[i] = Integer.parseInt(s);
- i = i + 1;
- }
- return file;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement