Oracle interview question

Implement hashmaps as it would be in java along with a hash function implementation and collision handling.