Remove First Object From Array To Hashmap Internally Working