private abstract class RegistrarImpl.ItemIter extends Object
Modifier and Type | Field and Description |
---|---|
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
|
Modifier | Constructor and Description |
---|---|
protected |
RegistrarImpl.ItemIter(Template tmpl)
Subclass constructors must initialize reg
|
Modifier and Type | Method and Description |
---|---|
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
|
public final long now
public boolean dupsPossible
protected final Template tmpl
protected RegistrarImpl.SvcReg reg
protected RegistrarImpl.ItemIter(Template tmpl)
public boolean hasNext()
public Item next()
public RegistrarImpl.SvcReg nextReg()
protected abstract void step()
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.