JTP API Documentation

jtp.util
Class ReplacementHashMap

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--jtp.util.ReplacementHashMap
All Implemented Interfaces:
Map

public class ReplacementHashMap
extends AbstractMap

ReplacementHashMap.java Created: Thu May 15 19:49:29 2003


Constructor Summary
ReplacementHashMap(int capacity)
           
 
Method Summary
 Set entrySet()
           
 Object get(Object key)
           
 int getSlotForKey(Object key)
           
 Object getValueForSlot(int slot)
           
 Set keySet()
           
 Object put(Object key, Object value)
           
 
Methods inherited from class java.util.AbstractMap
clear, clone, containsKey, containsValue, equals, hashCode, isEmpty, putAll, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReplacementHashMap

public ReplacementHashMap(int capacity)
Method Detail

entrySet

public Set entrySet()
Specified by:
entrySet in interface Map
Specified by:
entrySet in class AbstractMap

put

public Object put(Object key,
                  Object value)
Specified by:
put in interface Map
Overrides:
put in class AbstractMap

keySet

public Set keySet()
Specified by:
keySet in interface Map
Overrides:
keySet in class AbstractMap

get

public Object get(Object key)
Specified by:
get in interface Map
Overrides:
get in class AbstractMap

getSlotForKey

public int getSlotForKey(Object key)

getValueForSlot

public Object getValueForSlot(int slot)

JTP API Documentation