Java Remove Duplicate Integers From Array To Object