|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.reggie.RegistrarImpl.ItemIter
com.sun.jini.reggie.RegistrarImpl.ClassItemIter
private class RegistrarImpl.ClassItemIter
Iterate over all matching Items by entry class, dups possible.
Field Summary | |
---|---|
private int |
classidx
Current index into entryClasses |
private EntryClass |
eclass
Entry class to match on |
private Iterator |
iter
Values iterator for current HashMap |
private int |
svcidx
Current index into svcs |
private ArrayList |
svcs
SvcRegs obtained from iter or serviceByEmptyAttr |
Fields inherited from class com.sun.jini.reggie.RegistrarImpl.ItemIter |
---|
dupsPossible, now, reg, tmpl |
Constructor Summary | |
---|---|
RegistrarImpl.ClassItemIter(Template tmpl)
tmpl.serviceID == null and tmpl.serviceTypes is empty and tmpl.attributeSetTemplates is non-empty |
Method Summary | |
---|---|
protected void |
step()
Set reg to the next matching element, or null if none |
private boolean |
stepClass()
Step to the next matching entry class, if any, reset iter using the HashMap for the last field of the class (and reset (svcs and svcidx if the entry class has no fields), and return false if everything exhausted. |
private boolean |
stepValue()
Step to the next HashMap value, if any, reset svcs and svcidx, and return false if everything exhausted. |
Methods inherited from class com.sun.jini.reggie.RegistrarImpl.ItemIter |
---|
hasNext, next, nextReg |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final EntryClass eclass
private int classidx
private Iterator iter
private ArrayList svcs
private int svcidx
Constructor Detail |
---|
public RegistrarImpl.ClassItemIter(Template tmpl)
Method Detail |
---|
protected void step()
step
in class RegistrarImpl.ItemIter
private boolean stepValue()
private boolean stepClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |