private class RegistrarImpl.ClassItemIter extends RegistrarImpl.ItemIter
Modifier and Type | Field and Description |
---|---|
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
|
dupsPossible, now, reg, tmpl
Constructor and Description |
---|
RegistrarImpl.ClassItemIter(Template tmpl)
tmpl.serviceID == null and
tmpl.serviceTypes is empty and
tmpl.attributeSetTemplates is non-empty
|
Modifier and Type | Method and Description |
---|---|
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.
|
hasNext, next, nextReg
private final EntryClass eclass
private int classidx
private Iterator iter
private ArrayList svcs
private int svcidx
public RegistrarImpl.ClassItemIter(Template tmpl)
protected void step()
step
in class RegistrarImpl.ItemIter
private boolean stepValue()
private boolean stepClass()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.