/** * Retrieve the next "n" items from the list, returned * as a BindingList. * * @param how_many The count of items to retrieve. * @param bl A holder for returning an array of Bindings for * the returned items. * * @return true if any items were returned, false if there's * nothing left to return. */ public boolean next_n(int how_many, org.omg.CosNaming.BindingListHolder bl) { List accum = new ArrayList(); BindingHolder holder = new BindingHolder(); int i = 0; // Keep iterating as long as there are entries while (i < how_many && next_one(holder)) { accum.add(holder.value); i++; } // convert to an array and return whether we found anything. bl.value = (Binding[])accum.toArray(new Binding[accum.size()]); return accum.isEmpty(); }
/** * Retrieve the next "n" items from the list, returned * as a BindingList. * * @param how_many The count of items to retrieve. * @param bl A holder for returning an array of Bindings for * the returned items. * * @return true if any items were returned, false if there's * nothing left to return. */ public boolean next_n(int how_many, org.omg.CosNaming.BindingListHolder bl) { List accum = new ArrayList(); BindingHolder holder = new BindingHolder(); int i = 0; // Keep iterating as long as there are entries while (i < how_many && next_one(holder)) { accum.add(holder.value); i++; } // convert to an array and return whether we found anything. bl.value = (Binding[])accum.toArray(new Binding[accum.size()]); return accum.isEmpty(); }
BindingHolder bh = new BindingHolder(); int i = 0;
BindingHolder bh = new BindingHolder();
org.omg.CosNaming.BindingHolder _arg0= new org.omg.CosNaming.BindingHolder(); _out = handler.createReply(); _out.write_boolean(next_one(_arg0));
org.omg.CosNaming.BindingHolder _arg0= new org.omg.CosNaming.BindingHolder(); _out = handler.createReply(); _out.write_boolean(next_one(_arg0));
org.omg.CosNaming.BindingHolder b = new org.omg.CosNaming.BindingHolder (); boolean $result = false; $result = this.next_one (b);
org.omg.CosNaming.BindingHolder b = new org.omg.CosNaming.BindingHolder (); boolean $result = false; $result = this.next_one (b);
org.omg.CosNaming.BindingHolder b = new org.omg.CosNaming.BindingHolder (); boolean $result = false; $result = this.next_one (b);
r.params(_list); org.omg.CosNaming.BindingHolder b; b = new org.omg.CosNaming.BindingHolder(); boolean ___result; ___result = this.next_one(b);