FileDocCategorySizeDatePackage
NamingEnumerationImpl.javaAPI DocJBoss 4.2.12351Fri Jul 13 20:53:48 BST 2007org.jboss.ejb3.naming

NamingEnumerationImpl

public class NamingEnumerationImpl extends Object implements NamingEnumeration
Comment
author
Carlo de Wolf
version
$Revision: $

Fields Summary
private Iterator
iterator
Constructors Summary
NamingEnumerationImpl(Collection set)

      this.iterator = set.iterator();
   
Methods Summary
public voidclose()

      // do nothing
   
public booleanhasMore()

      return hasMoreElements();
   
public booleanhasMoreElements()

      return iterator.hasNext();
   
public Tnext()

      return nextElement();
   
public TnextElement()

      return iterator.next();