What\'s wrong with this?
int[] nums = new int[] {8, 3, 4}; Map val2Idx = IntStream.range(0, nums.length) .collect(Collecto