Is there a data structure in Java which has constant lookup O(1) time and just stores value (not key-value) ? I know HashMap/HashTable have constant O(1) lookup time if hash