com.icl.saxon.sort
Class HashMap

java.lang.Object
  extended bycom.icl.saxon.sort.HashMap

public class HashMap
extends Object

A simple class for testing membership of a fixed set of ASCII strings. The class must be initialised with enough space for all the strings, it will go into an infinite loop if it fills. The string matching is case-blind, using an algorithm that works only for ASCII


Field Summary
(package private)  int size
           
(package private)  String[] strings
           
 
Constructor Summary
HashMap(int size)
           
 
Method Summary
 boolean get(String s)
           
 void set(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

strings

String[] strings

size

int size
Constructor Detail

HashMap

public HashMap(int size)
Method Detail

set

public void set(String s)

get

public boolean get(String s)