org.anarres.jperf
Class PerfectObjectMapGenerator<K,V>

java.lang.Object
  extended by org.anarres.jperf.PerfectMapGenerator<K,V>
      extended by org.anarres.jperf.PerfectObjectMapGenerator<K,V>

public class PerfectObjectMapGenerator<K,V>
extends PerfectMapGenerator<K,V>


Constructor Summary
PerfectObjectMapGenerator()
           
 
Method Summary
 void add(K k, V v)
           
 int toHashCode(K key, int rem)
           
 Map<K,V> toMap()
           
 int toRemainder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerfectObjectMapGenerator

public PerfectObjectMapGenerator()
Method Detail

add

public void add(K k,
                V v)
Specified by:
add in class PerfectMapGenerator<K,V>

toHashCode

public int toHashCode(K key,
                      int rem)

toRemainder

public int toRemainder()

toMap

public Map<K,V> toMap()
Specified by:
toMap in class PerfectMapGenerator<K,V>


Copyright © 2002-2008 Shevek, Anarres. All Rights Reserved.