com.icl.saxon.sort
Class HashMap
java.lang.Object
com.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
Constructor Summary |
HashMap(int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
strings
String[] strings
size
int size
HashMap
public HashMap(int size)
set
public void set(String s)
get
public boolean get(String s)