|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.reggie.RegistrarImpl.ItemIter
private abstract class RegistrarImpl.ItemIter
Base class for iterating over all Items that match a Template.
Field Summary | |
---|---|
boolean |
dupsPossible
True means duplicate items are possible |
long |
now
Current time |
protected RegistrarImpl.SvcReg |
reg
Next item to return |
protected Template |
tmpl
Template to match |
Constructor Summary | |
---|---|
protected |
RegistrarImpl.ItemIter(Template tmpl)
Subclass constructors must initialize reg |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
Item |
next()
Returns the next element in the iteration as an Item. |
RegistrarImpl.SvcReg |
nextReg()
Returns the next element in the iteration as a SvcReg. |
protected abstract void |
step()
Set reg to the next matching element, or null if none |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final long now
public boolean dupsPossible
protected final Template tmpl
protected RegistrarImpl.SvcReg reg
Constructor Detail |
---|
protected RegistrarImpl.ItemIter(Template tmpl)
Method Detail |
---|
public boolean hasNext()
public Item next()
public RegistrarImpl.SvcReg nextReg()
protected abstract void step()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |