org.apache.tomcat.util.collections

Class MultiMapNamesEnumeration

public final class MultiMapNamesEnumeration extends 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
booleanhasMoreElements()
ObjectnextElement()

Method Detail

hasMoreElements

public boolean hasMoreElements()

nextElement

public Object nextElement()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.