Implemented HashMap

I recently implemented a HashMap with native lua tables. To make the map as fast as possible, I'm using kind of a mix of lua and java. The Java objects are stored in buckets in a lua table indexed by the hashes. Every bucket contains a list (numerically-indexed) with the key-value pairs. Two objects are considered equal, if Object.equals returns true.
You never declared or used this newBucket thing.