goldman.collection.tagged.set
Class SeparateChainingMapping<K,V>

java.lang.Object
  extended by goldman.collection.tagged.TaggedCollectionWrapper<K,V>
      extended by goldman.collection.tagged.set.SeparateChainingMapping<K,V>
All Implemented Interfaces:
Mapping<K,V>, TaggedCollection<K,V>, Iterable<TaggedElement<K,V>>

public class SeparateChainingMapping<K,V>
extends TaggedCollectionWrapper<K,V>
implements Mapping<K,V>

A tagged version of a separate chaining.


Field Summary
 
Fields inherited from class goldman.collection.tagged.TaggedCollectionWrapper
pairs, target
 
Constructor Summary
SeparateChainingMapping()
           
SeparateChainingMapping(Comparator<? super K> equivalenceTester)
           
SeparateChainingMapping(int capacity)
           
SeparateChainingMapping(int capacity, Comparator<? super K> equivalenceTester)
           
SeparateChainingMapping(int capacity, double load)
           
SeparateChainingMapping(int capacity, double load, Comparator<? super K> equivalenceTester)
           
 
Method Summary
 
Methods inherited from class goldman.collection.tagged.TaggedCollectionWrapper
accept, clear, contains, elements, ensureCapacity, get, getCapacity, getLocator, getSize, isEmpty, iterator, put, putAll, remove, tags, toString, trimToSize, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface goldman.collection.tagged.TaggedCollection
accept, clear, contains, elements, ensureCapacity, get, getCapacity, getLocator, getSize, isEmpty, iterator, put, putAll, remove, tags, toString, trimToSize, values
 

Constructor Detail

SeparateChainingMapping

public SeparateChainingMapping(int capacity,
                               double load,
                               Comparator<? super K> equivalenceTester)

SeparateChainingMapping

public SeparateChainingMapping()

SeparateChainingMapping

public SeparateChainingMapping(Comparator<? super K> equivalenceTester)

SeparateChainingMapping

public SeparateChainingMapping(int capacity)

SeparateChainingMapping

public SeparateChainingMapping(int capacity,
                               Comparator<? super K> equivalenceTester)

SeparateChainingMapping

public SeparateChainingMapping(int capacity,
                               double load)