Java Get Subarray From Array To Hashmap Examples