| java.lang.Object org.apache.tomcat.util.collections.MultiMapNamesEnumeration
MultiMapNamesEnumeration | final public class MultiMapNamesEnumeration implements Enumeration(Code) | | Enumerate the distinct header names.
Each nextElement() is O(n) ( a comparation is
done with all previous elements ).
This is less frequesnt than add() -
we want to keep add O(1).
|
MultiMapNamesEnumeration | MultiMapNamesEnumeration(MultiMap headers, boolean toString, boolean unique)(Code) | | Create a new multi-map enumeration.
Parameters: headers - the collection to enumerate Parameters: toString - convert each name to string Parameters: unique - return only unique names |
hasMoreElements | public boolean hasMoreElements()(Code) | | |
|
|