package org.omg.CosNaming;


/**
* org/omg/CosNaming/BindingIteratorOperations.java .
* Generated by the IDL-to-Java compiler (portable), version "3.2"
* from /var/lib/jenkins/jobs/openjdk/jobs/openjdk9/workspace/jdk9/corba/src/java.corba/share/classes/org/omg/CosNaming/nameservice.idl
* Sunday, February 14, 2021 4:59:55 PM UTC
*/


The BindingIterator interface allows a client to iterate through the bindings using the next_one or next_n operations. The bindings iterator is obtained by using the list method on the NamingContext.
See Also:
  • list.list
/** * The BindingIterator interface allows a client to iterate through * the bindings using the next_one or next_n operations. * * The bindings iterator is obtained by using the <code>list</code> * method on the <code>NamingContext</code>. * @see org.omg.CosNaming.NamingContext#list */
public interface BindingIteratorOperations {
This operation returns the next binding. If there are no more bindings, false is returned.
Params:
  • b – the returned binding
/** * This operation returns the next binding. If there are no more * bindings, false is returned. * * @param b the returned binding */
boolean next_one (org.omg.CosNaming.BindingHolder b);
This operation returns at most the requested number of bindings.
Params:
  • how_many – the maximum number of bindings to return
  • bl – the returned bindings
/** * This operation returns at most the requested number of bindings. * * @param how_many the maximum number of bindings to return * * @param bl the returned bindings */
boolean next_n (int how_many, org.omg.CosNaming.BindingListHolder bl);
This operation destroys the iterator.
/** * This operation destroys the iterator. */
void destroy (); } // interface BindingIteratorOperations