public class NameEnumeration extends Object implements NamingEnumeration<NameClassPair>
Implementation of NamingEnumeration interface.
Used for returning results of Context.list();
Constructor and Description |
---|
NameEnumeration(Iterator<Binding> e) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
hasMore() |
boolean |
hasMoreElements() |
NameClassPair |
next() |
NameClassPair |
nextElement() |
public void close() throws NamingException
close
in interface NamingEnumeration<NameClassPair>
NamingException
public boolean hasMore() throws NamingException
hasMore
in interface NamingEnumeration<NameClassPair>
NamingException
public NameClassPair next() throws NamingException
next
in interface NamingEnumeration<NameClassPair>
NamingException
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<NameClassPair>
public NameClassPair nextElement()
nextElement
in interface Enumeration<NameClassPair>
Copyright © 1995-2015 Webtide. All Rights Reserved.