BRUtil - Making Java a Kinder, Gentler, Place to be.

brutil
Class HashMap

java.lang.Object
  |
  +--brutil.AbstractMap
        |
        +--brutil.HashMap
All Implemented Interfaces:
Collection, Map

public class HashMap
extends AbstractMap

A HashMap implements the Map interface; therefore its purpose is associating keys and values. This implementation is real-time - it rehashes (reorganizes) itself during each operation. A wise choice for large data sets.


Fields inherited from class brutil.AbstractMap
set
 
Constructor Summary
HashMap()
           
 
Method Summary
protected  Set setFactory()
          This method is abstract, to be replaced by subclasses to provide the correct implementation.
 
Methods inherited from class brutil.AbstractMap
clear, containsKey, get, isEmpty, put, remove, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashMap

public HashMap()
Method Detail

setFactory

protected Set setFactory()
Description copied from class: AbstractMap
This method is abstract, to be replaced by subclasses to provide the correct implementation.
Overrides:
setFactory in class AbstractMap


BRUtil - Making Java a Kinder, Gentler, Place to be.