public class CycleResultsIntervalSegment extends Object implements CycleResultsSegment
CycleResultsSegment.EmptySegment| Modifier and Type | Field and Description |
|---|---|
byte[] |
codes
A view of status codes in byte form.
|
long |
cycle
The base cycle value, the minimum cycle in the segment.
|
EMPTY| Constructor and Description |
|---|
CycleResultsIntervalSegment() |
| Modifier and Type | Method and Description |
|---|---|
static CycleResultsIntervalSegment |
forData(long cycle,
byte[] buffer) |
static CycleResultsIntervalSegment |
forData(long cycle,
byte[] buffer,
int offset,
int len) |
long |
getCount() |
long |
getMinCycle() |
@NotNull Iterator<CycleResult> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTo, filterforEach, spliteratorpublic long cycle
public byte[] codes
public static CycleResultsIntervalSegment forData(long cycle, byte[] buffer, int offset, int len)
public static CycleResultsIntervalSegment forData(long cycle, byte[] buffer)
@NotNull public @NotNull Iterator<CycleResult> iterator()
iterator in interface Iterable<CycleResult>public long getCount()
getCount in interface CycleResultsSegmentpublic long getMinCycle()
getMinCycle in interface CycleResultsSegmentCopyright © 2017. All rights reserved.