public class NamingContextEnumeration extends Object implements NamingEnumeration<NameClassPair>
Modifier and Type | Field and Description |
---|---|
protected Iterator<NamingEntry> |
iterator
Underlying enumeration.
|
Constructor and Description |
---|
NamingContextEnumeration(Iterator<NamingEntry> entries) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this enumeration.
|
boolean |
hasMore()
Determines whether there are any more elements in the enumeration.
|
boolean |
hasMoreElements() |
NameClassPair |
next()
Retrieves the next element in the enumeration.
|
NameClassPair |
nextElement() |
protected final Iterator<NamingEntry> iterator
public NamingContextEnumeration(Iterator<NamingEntry> entries)
public NameClassPair next() throws NamingException
next
in interface NamingEnumeration<NameClassPair>
NamingException
public boolean hasMore() throws NamingException
hasMore
in interface NamingEnumeration<NameClassPair>
NamingException
public void close() throws NamingException
close
in interface NamingEnumeration<NameClassPair>
NamingException
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration<NameClassPair>
public NameClassPair nextElement()
nextElement
in interface Enumeration<NameClassPair>
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.