Algorithm
Development Kit 1.0

algs.model.search
Class ListHashTableReporter<V>

java.lang.Object
  extended by algs.model.search.ListHashTableReporter<V>
Type Parameters:
V - type of object to be placed into the HashTable

public class ListHashTableReporter<V>
extends java.lang.Object

Generate useful statistics about ListHashTable object. Slot Usage Load Factor Weighted average of chains [min, max, avg]

Since:
1.0
Version:
1.0, 6/15/08
Author:
George Heineman, Gary Pollice

Constructor Summary
ListHashTableReporter(ListHashTable<V> ht)
          Load up the HashTable for this reporter.
 
Method Summary
 java.lang.String report()
          Generate and return the collision report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListHashTableReporter

public ListHashTableReporter(ListHashTable<V> ht)
Load up the HashTable for this reporter.

Method Detail

report

public java.lang.String report()
Generate and return the collision report.


Algorithm Development Kit 1.0

This code supports the Algorithms in a Nutshell book, published by O'Reilly Media, Inc. in November 2008. Please visit the book web page to learn of any changes to the code repository or to record a potential defect.