ovm.util
Class Runabout.HTClass2Runabout_Code

java.lang.Object
  |
  +--ovm.util.Runabout.HTClass2Runabout_Code
Enclosing class:
Runabout

public static class Runabout.HTClass2Runabout_Code
extends java.lang.Object

This Hashtable is generated by TGen. Its key type is Class and its value type is Runabout.Code.

Author:
Ben L. Titzer, Christian Grothoff, TGen2

Field Summary
static Runabout.HTClass2Runabout_Code EMPTY
           
static int MININT
           
static Runabout.Code NOTFOUND
           
 
Constructor Summary
Runabout.HTClass2Runabout_Code()
          Public default constructor.
Runabout.HTClass2Runabout_Code(int hint)
          Constructor to build a new hashtable.
 
Method Summary
 Runabout.HTClass2Runabout_Code cloneHT()
           
 Runabout.Code get(java.lang.Class key)
          Get a value from hashtable given a key.
 void put(java.lang.Class key, Runabout.Code value)
          Put a key and value into the hashtable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MININT

public static final int MININT

NOTFOUND

public static final Runabout.Code NOTFOUND

EMPTY

public static final Runabout.HTClass2Runabout_Code EMPTY
Constructor Detail

Runabout.HTClass2Runabout_Code

public Runabout.HTClass2Runabout_Code()
Public default constructor.

Runabout.HTClass2Runabout_Code

public Runabout.HTClass2Runabout_Code(int hint)
Constructor to build a new hashtable. The size hint passed is used to choose the least power of 2 greater than the hint for the hashtable.
Method Detail

get

public final Runabout.Code get(java.lang.Class key)
Get a value from hashtable given a key. Returns the value NOTFOUND if the key specified is not found in the hashtable.

put

public void put(java.lang.Class key,
                Runabout.Code value)
Put a key and value into the hashtable. Checks to see if the key is already in the hashtable, and if so, updates the value associated with the key. If the keys_, collisions_ or values_ arrays (or any other internal state) ever change, notify the readonly view.

cloneHT

public Runabout.HTClass2Runabout_Code cloneHT()

http://www.ovmj.org/runabout/