| java.lang.Object bak.pcj.map.AbstractByteKeyFloatMap
All known Subclasses: bak.pcj.adapter.MapToByteKeyFloatMapAdapter, bak.pcj.map.ByteKeyFloatChainedHashMap, bak.pcj.map.ByteKeyFloatOpenHashMap,
AbstractByteKeyFloatMap | abstract public class AbstractByteKeyFloatMap implements ByteKeyFloatMap(Code) | | This class represents an abstract base for implementing
maps from byte values to float 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.4 21-08-2003 19:34 since: 1.0 |
AbstractByteKeyFloatMap | protected AbstractByteKeyFloatMap()(Code) | | Default constructor to be invoked by sub-classes.
|
clear | public void clear()(Code) | | |
containsKey | public boolean containsKey(byte key)(Code) | | |
containsValue | public boolean containsValue(float value)(Code) | | |
get | public float get(byte key)(Code) | | |
hashCode | public int hashCode()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
remove | public float remove(byte key)(Code) | | |
tget | public float tget(byte key)(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.
|
|
|