org.apache.tomcat.util.collections

Class MultiMapNamesEnumeration

Implemented Interfaces:
Enumeration

public final class MultiMapNamesEnumeration
extends java.lang.Object
implements Enumeration

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).

Method Summary

boolean
hasMoreElements()
Object
nextElement()

Method Details

hasMoreElements

public boolean hasMoreElements()


nextElement

public Object nextElement()


Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.