public class Shift extends Object implements Comparable<Shift>
Modifier and Type | Field and Description |
---|---|
static int |
ADJACENT |
private int |
breadth |
static int |
CLUSTER |
private int |
count |
private String |
label |
static int |
OUTLIER |
private double |
percent |
private double |
proportion |
static int |
STABLE |
private int |
type |
private int |
x1 |
private int |
x2 |
private int |
y1 |
private int |
y2 |
Constructor and Description |
---|
Shift() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Shift other) |
int |
getBreadth() |
int |
getCount() |
String |
getLabel() |
double |
getPercent() |
double |
getProportion() |
int |
getType() |
int |
getX1() |
int |
getX2() |
int |
getY1() |
int |
getY2() |
protected void |
setBreadth(int breadth) |
protected void |
setCoords(int x1,
int y1,
int x2,
int y2) |
protected void |
setCount(int count) |
protected void |
setLabel(String label) |
protected void |
setPercent(double percent) |
protected void |
setProportion(double proportion) |
protected void |
setType(int type) |
protected void |
setX1(int x1) |
protected void |
setX2(int x2) |
protected void |
setY1(int y1) |
protected void |
setY2(int y2) |
String |
toString() |
private int x1
private int y1
private int x2
private int y2
private int count
private double percent
private double proportion
private int breadth
private String label
private int type
public static final int STABLE
public static final int ADJACENT
public static final int OUTLIER
public static final int CLUSTER
public int compareTo(Shift other)
compareTo
in interface Comparable<Shift>
public String getLabel()
public int getX1()
public int getX2()
public int getY1()
public int getY2()
protected void setCoords(int x1, int y1, int x2, int y2)
protected void setLabel(String label)
protected void setX1(int x1)
protected void setX2(int x2)
protected void setY1(int y1)
protected void setY2(int y2)
public int getType()
protected void setType(int type)
public int getCount()
public double getProportion()
protected void setCount(int count)
protected void setProportion(double proportion)
public int getBreadth()
protected void setBreadth(int breadth)
public double getPercent()
protected void setPercent(double percent)