| java.lang.Object bak.pcj.map.AbstractObjectKeyShortMap
All known Subclasses: bak.pcj.map.ObjectKeyShortOpenHashMap, bak.pcj.adapter.MapToObjectKeyShortMapAdapter, bak.pcj.map.ObjectKeyShortChainedHashMap,
AbstractObjectKeyShortMap | abstract public class AbstractObjectKeyShortMap implements ObjectKeyShortMap(Code) | | This class represents an abstract base for implementing
maps from object values to short values. 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.1 21-08-2003 19:33 since: 1.1 |
AbstractObjectKeyShortMap | protected AbstractObjectKeyShortMap()(Code) | | Default constructor to be invoked by sub-classes.
|
clear | public void clear()(Code) | | |
containsValue | public boolean containsValue(short 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.
|
|
|