Package fr.dyade.aaa.jndi2.msg
Class ListBindingsReply.NamingEnumerationImpl
- java.lang.Object
-
- fr.dyade.aaa.jndi2.msg.ListBindingsReply.NamingEnumerationImpl
-
- All Implemented Interfaces:
Enumeration,NamingEnumeration
- Enclosing class:
- ListBindingsReply
private static class ListBindingsReply.NamingEnumerationImpl extends Object implements NamingEnumeration
-
-
Constructor Summary
Constructors Constructor Description NamingEnumerationImpl(Binding[] bindings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanhasMore()booleanhasMoreElements()Objectnext()ObjectnextElement()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Enumeration
asIterator
-
-
-
-
Field Detail
-
bindings
private Binding[] bindings
-
index
private int index
-
-
Constructor Detail
-
NamingEnumerationImpl
public NamingEnumerationImpl(Binding[] bindings)
-
-
Method Detail
-
hasMore
public boolean hasMore() throws NamingException- Specified by:
hasMorein interfaceNamingEnumeration- Throws:
NamingException
-
next
public Object next() throws NamingException
- Specified by:
nextin interfaceNamingEnumeration- Throws:
NamingException
-
close
public void close()
- Specified by:
closein interfaceNamingEnumeration
-
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElementsin interfaceEnumeration
-
nextElement
public Object nextElement()
- Specified by:
nextElementin interfaceEnumeration
-
-