Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| protected DnsContext | |
| protected Enumeration |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final boolean | hasMore()
Implements javax. Determines whether there are any more elements in the enumeration. |
| public final boolean | hasMoreElements()
Implements java. Tests if this enumeration contains more elements. |
| public abstract T | next()
Redeclares javax. Retrieves the next element in the enumeration. |
| public final T | nextElement()
Implements java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| ctx | back to summary |
|---|---|
| protected DnsContext ctx | |
| nodes | back to summary |
|---|---|
| protected Enumeration<NameNode> nodes | |
| BaseNameClassPairEnumeration | back to summary |
|---|---|
| pack-priv BaseNameClassPairEnumeration(DnsContext ctx, Hashtable<String, NameNode> nodes) | |
| close | back to summary |
|---|---|
| public final void close() Implements javax. Doc from javax. Closes this enumeration.
After this method has been invoked on this enumeration, the
enumeration becomes invalid and subsequent invocation of any of
its methods will yield undefined results.
This method is intended for aborting an enumeration to free up resources.
If an enumeration proceeds to the end--that is, until
This method indicates to the service provider that it is free
to release resources associated with the enumeration, and can
notify servers to cancel any outstanding requests. The | |
| hasMore | back to summary |
|---|---|
| public final boolean hasMore() Implements javax. Doc from javax. Determines whether there are any more elements in the enumeration. This method allows naming exceptions encountered while determining whether there are more elements to be caught and handled by the application. | |
| hasMoreElements | back to summary |
|---|---|
| public final boolean hasMoreElements() Implements java. Doc from java. Tests if this enumeration contains more elements. | |
| next | back to summary |
|---|---|
| public abstract T next() throws NamingException Redeclares javax. Doc from javax. Retrieves the next element in the enumeration. This method allows naming exceptions encountered while retrieving the next element to be caught and handled by the application.
Note that
| |
| nextElement | back to summary |
|---|---|
| public final T nextElement() Implements java. Doc from java. Returns the next element of this enumeration if this enumeration object has at least one more element to provide. | |