public class RuleInterval extends Object implements Comparable<RuleInterval>, Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
double |
coverage |
int |
endPos |
int |
id |
int |
startPos |
| Constructor and Description |
|---|
RuleInterval() |
RuleInterval(int startPos,
int endPos) |
RuleInterval(int id,
int startPos,
int endPos,
double coverage) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
compareTo(RuleInterval arg0) |
boolean |
equals(Object obj) |
double |
getCoverage() |
int |
getEnd() |
int |
getId() |
int |
getLength() |
int |
getStart() |
int |
hashCode() |
void |
setCoverage(double coverage) |
void |
setEnd(int endPos) |
void |
setId(int ruleIndex) |
void |
setStart(int startPos) |
String |
toString() |
public int id
public int startPos
public int endPos
public double coverage
public RuleInterval()
public RuleInterval(int startPos,
int endPos)
public RuleInterval(int id,
int startPos,
int endPos,
double coverage)
public void setId(int ruleIndex)
public int getId()
public void setStart(int startPos)
startPos - starting position within the original time seriespublic int getStart()
public void setEnd(int endPos)
endPos - ending position within the original time seriespublic int getEnd()
public void setCoverage(double coverage)
coverage - the coverage to setpublic double getCoverage()
public int getLength()
public int compareTo(RuleInterval arg0)
compareTo in interface Comparable<RuleInterval>public Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionCopyright © 2021 JMotif. All rights reserved.