jrunx.util
Class NoCaseContainer

java.lang.Object
  |
  +--java.util.Dictionary
        |
        +--java.util.Hashtable
              |
              +--jrunx.util.FlatHashtable
                    |
                    +--jrunx.util.MultiKeyContainer
                          |
                          +--jrunx.util.NoCaseContainer
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public final class NoCaseContainer
extends MultiKeyContainer

This hashtable uses a case-insensitive hash & search algorithm to allow hashing of case-insensitive keys. Great for storing headers.

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
java.util.Map.Entry
 
Fields inherited from class jrunx.util.FlatHashtable
keys, loadFactor, removed, REMOVED, size, values
 
Constructor Summary
NoCaseContainer()
           
 
Method Summary
protected  int find(java.lang.Object key)
          find the key given, or the first empty slot
 void writeTo(ServletConnection response)
          send all the headers in this hashtable to the given response, using addHeader()
 
Methods inherited from class jrunx.util.MultiKeyContainer
add, add, addQueryString, get, getAll
 
Methods inherited from class jrunx.util.FlatHashtable
clear, contains, containsKey, elements, isEmpty, keys, put, rehash, remove, size, toString
 
Methods inherited from class java.util.Hashtable
clone, containsValue, entrySet, equals, hashCode, keySet, putAll, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoCaseContainer

public NoCaseContainer()
Method Detail

find

protected int find(java.lang.Object key)
find the key given, or the first empty slot
Overrides:
find in class FlatHashtable

writeTo

public void writeTo(ServletConnection response)
             throws java.io.IOException
send all the headers in this hashtable to the given response, using addHeader()


Copyright � 2002 Macromedia Corporation. All Rights Reserved.