Factory method to create a new Locator instance.
Type of elements to be stored in Locator
Backing hashmap size (default 16)