public class Range extends Object
| Constructor and Description |
|---|
Range(long start,
long end,
long sampleLength) |
| Modifier and Type | Method and Description |
|---|---|
static long |
findSampleLength(long timeStamp,
List<Range> ranges) |
long |
getEnd() |
long |
getSampleLength() |
long |
getStart() |
boolean |
isTimestampInThisRange(long ts) |
void |
setEnd(long end) |
void |
setSampleLength(long sampleLength) |
void |
setStart(long start) |
String |
toString() |
public boolean isTimestampInThisRange(long ts)
public void setStart(long start)
public void setEnd(long end)
public void setSampleLength(long sampleLength)
public long getStart()
public long getEnd()
public long getSampleLength()
Copyright © 2019. All rights reserved.