| java.lang.Object bak.pcj.map.AbstractDoubleKeyMap
All known Subclasses: bak.pcj.map.DoubleKeyOpenHashMap, bak.pcj.adapter.MapToDoubleKeyMapAdapter, bak.pcj.map.DoubleKeyChainedHashMap,
AbstractDoubleKeyMap | abstract public class AbstractDoubleKeyMap implements DoubleKeyMap(Code) | | This class represents an abstract base for implementing
maps from double values to objects. All operations that can be implemented
using iterators
are implemented as such. In most cases, this is
hardly an efficient solution, and at least some of those
methods should be overridden by sub-classes.
author: Søren Bak version: 1.0 2003/10/1 since: 1.0 |
Constructor Summary | |
protected | AbstractDoubleKeyMap() Default constructor to be invoked by sub-classes. |
AbstractDoubleKeyMap | protected AbstractDoubleKeyMap()(Code) | | Default constructor to be invoked by sub-classes.
|
clear | public void clear()(Code) | | |
containsKey | public boolean containsKey(double key)(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
toString | public String toString()(Code) | | Returns a string representation of this map.
a string representation of this map. |
trimToSize | public void trimToSize()(Code) | | Does nothing. Sub-classes may provide an implementation to
minimize memory usage, but this is not required since many
implementations will always have minimal memory usage.
|
|
|