/HashMap

A simple HashMap with collision management written in Java.

Primary LanguageJavaMIT LicenseMIT

HashMap

A simple HashMap with collision management written in Java.

Usage

HashMap<String, Integer> map = new HashMap<>();
map.put(null, 0);
map.put("key", 1987);

if ( map.hasElement("key") ) {
	Integer value = map.get("key");
}

How To Get Started

  1. Just drag & drop HashMap.java into your project.
  2. That's all!

Unit Tests

Some JUnit tests are available here

License

HashMap is available under the MIT license. See the LICENSE file for more info.

Follow me on twitter @capezzbr