public class ComponentRegionCount extends Object implements Comparable<ComponentRegionCount>
Modifier and Type | Field and Description |
---|---|
private Integer |
index |
private int |
numberOfRegion |
Constructor and Description |
---|
ComponentRegionCount(int distance,
Integer index) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ComponentRegionCount other) |
boolean |
equals(Object obj) |
double |
getFactor(int numberOfBins) |
Integer |
getIndex() |
int |
getNumberOfRegion() |
private int numberOfRegion
private Integer index
public ComponentRegionCount(int distance, Integer index)
public int compareTo(ComponentRegionCount other)
compareTo
in interface Comparable<ComponentRegionCount>
public Integer getIndex()
public int getNumberOfRegion()
public double getFactor(int numberOfBins)