Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xerces.utils
Class Hash2intTable  view Hash2intTable download Hash2intTable.java

java.lang.Object
  extended byorg.apache.xerces.utils.Hash2intTable

public final class Hash2intTable
extends java.lang.Object

A light-weight hashtable class that takes 2 ints as key and 1 int as value

Version:

Field Summary
private  int[][] fHashTable
           
private static int HASHTABLE_SIZE
           
private static int INITIAL_BUCKET_SIZE
           
 
Constructor Summary
Hash2intTable()
           
 
Method Summary
 int get(int key1, int key2, int key3)
           
 void put(int key1, int key2, int key3, int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_BUCKET_SIZE

private static final int INITIAL_BUCKET_SIZE
See Also:
Constant Field Values

HASHTABLE_SIZE

private static final int HASHTABLE_SIZE
See Also:
Constant Field Values

fHashTable

private int[][] fHashTable
Constructor Detail

Hash2intTable

public Hash2intTable()
Method Detail

put

public void put(int key1,
                int key2,
                int key3,
                int value)

get

public int get(int key1,
               int key2,
               int key3)