Modifier and Type | Method and Description |
---|---|
long |
current()
Returns position of current sample.
|
DomainValue |
getCurrentPosition()
Returns position of current sample.
|
IDomainBase |
getDomainBase()
Returns domain base.
|
long |
getEnd()
Returns end units of iterator.
|
DomainValue |
getEndPosition()
Returns end position of iterator.
|
long |
getStart()
Returns start units of iterator.
|
DomainValue |
getStartPosition()
Returns start position of iterator.
|
boolean |
hasPrev()
Returns true if there is a previous sample.
|
boolean |
isCurrent(ISamplePointer samples)
Returns true if samples is at current position.
|
Long |
next()
Goto next sample.
|
boolean |
next(ISamplePointer samples)
Goto next sample of 'samples'.
|
boolean |
nextEdge(ISamplePointer samples,
int edge)
Goto next edge.
|
boolean |
nextEdge(ISamplePointer samples,
int edge,
ILogicDetector detector) |
Long |
prev()
Goto previous sample.
|
boolean |
prev(ISamplePointer samples)
Goto previous sample of 'samples'.
|
boolean |
prevEdge(ISamplePointer samples,
int edge)
Goto previous edge.
|
boolean |
prevEdge(ISamplePointer samples,
int edge,
ILogicDetector detector) |
void |
setCurrent(DomainValue position,
boolean iterationStart)
Sets the current position to 'position'.
|
void |
setCurrent(long units,
boolean iterationStart)
Sets the current position to 'units'.
|
boolean hasPrev()
Long prev()
Long next()
next
in interface java.util.Iterator<Long>
long current()
void setCurrent(long units, boolean iterationStart)
units
- Domain position as a multiple of its domain base (e.g. domain base=1ms; units = 100; -> domain value = 100ms).iterationStart
- If true, next prev() or next() will return current sample position.boolean isCurrent(ISamplePointer samples)
void setCurrent(DomainValue position, boolean iterationStart)
position
- iterationStart
- If true, next prev() or next() will return current sample position.IDomainBase getDomainBase()
long getStart()
long getEnd()
DomainValue getCurrentPosition()
DomainValue getStartPosition()
DomainValue getEndPosition()
boolean prev(ISamplePointer samples)
boolean next(ISamplePointer samples)
boolean prevEdge(ISamplePointer samples, int edge)
boolean prevEdge(ISamplePointer samples, int edge, ILogicDetector detector)
boolean nextEdge(ISamplePointer samples, int edge)
boolean nextEdge(ISamplePointer samples, int edge, ILogicDetector detector)