public class ByteTrackerExtent extends Object implements CycleResultSegmentsReadable
| Constructor and Description |
|---|
ByteTrackerExtent(long min,
int[] ints) |
ByteTrackerExtent(long min,
long nextMin)
Create a simple marker extent
|
| Modifier and Type | Method and Description |
|---|---|
ByteTrackerExtent |
extend()
Find the last known extent, and add another after it, account for
contiguous ranges and extent getCount.
|
int |
getChainSize() |
long |
getMin() |
AtomicReference<ByteTrackerExtent> |
getNextExtent() |
CycleResultsIntervalSegment |
getRemainingSegment() |
int |
getSize() |
boolean |
isFullyFilled() |
Iterator<CycleResultsSegment> |
iterator() |
long |
markResult(long cycle,
int result)
mark the named cycle in the extent, or in any future extent that we know.
|
String |
rangeSummary() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCycleResultIterableforEach, spliteratorpublic ByteTrackerExtent(long min,
long nextMin)
min - the first logical cycle to be returned by this trackernextMin - the first logical cycle of the next rangepublic ByteTrackerExtent(long min,
int[] ints)
public long markResult(long cycle,
int result)
cycle - The cycle to be markedresult - the result code to mark in the cyclepublic CycleResultsIntervalSegment getRemainingSegment()
public boolean isFullyFilled()
public AtomicReference<ByteTrackerExtent> getNextExtent()
public ByteTrackerExtent extend()
public long getMin()
public int getSize()
public int getChainSize()
public String rangeSummary()
public Iterator<CycleResultsSegment> iterator()
iterator in interface Iterable<CycleResultsSegment>Copyright © 2018. All rights reserved.