public class History.SampleIterator extends Object implements Iterator<IHistoryEntry<T>>
History
and then visits those
samples.Modifier | Constructor and Description |
---|---|
protected |
History.SampleIterator() |
Modifier and Type | Method and Description |
---|---|
long |
getFirstSampleTime()
The timestamp associated with the first sample.
|
long |
getLastSampleTime()
The timestamp associated with the last sample.
|
int |
getSampleCount()
The #of slots with sampled data.
|
boolean |
hasNext() |
IHistoryEntry<T> |
next() |
void |
remove() |
public int getSampleCount()
public long getFirstSampleTime()
-1
if there are no samples.public long getLastSampleTime()
-1
if there are no samples.public boolean hasNext()
hasNext
in interface Iterator<IHistoryEntry<T>>
public IHistoryEntry<T> next()
next
in interface Iterator<IHistoryEntry<T>>
public void remove()
remove
in interface Iterator<IHistoryEntry<T>>
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.