Class 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 Detail

      • HashMap

        public HashMap​(int size)
    • Method Detail

      • set

        public void set​(String s)
      • get

        public boolean get​(String s)