org.apache.lucene.analysis

Class CharArrayMap<V>

  • All Implemented Interfaces:
    Map<Object,V>
    Direct Known Subclasses:
    CharArrayMap


    public class CharArrayMap<V>
    extends AbstractMap<Object,V>
    A simple class that stores key Strings as char[]'s in a hash table. Note that this is not a general purpose class. For example, it cannot remove items from the map, nor does it resize its hash table to be smaller, etc. It is designed to be quick to retrieve items by char[] keys without the necessity of converting to a String first.