public final class MinMaxGapFunction extends GapFunction
| Modifier and Type | Field and Description |
|---|---|
protected PropertyChangeSupport |
changes |
DEFAULT| Constructor and Description |
|---|
MinMaxGapFunction()
Instantiates an instance with the default minimum and maximum gap and
units.
|
MinMaxGapFunction(Integer minimumGap,
Unit minimumGapUnit,
Integer maximumGap,
Unit maximumGapUnit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(Interval lhs,
Interval rhs)
Returns whether two intervals have a gap that satisfies
the constraints of the gap function.
|
Integer |
getMaximumGap() |
Unit |
getMaximumGapUnit() |
Integer |
getMinimumGap() |
Unit |
getMinimumGapUnit() |
void |
setMaximumGap(Integer maximumGap) |
void |
setMaximumGapUnit(Unit unit) |
void |
setMinimumGap(Integer minimumGap) |
void |
setMinimumGapUnit(Unit unit) |
String |
toString() |
executeprotected final PropertyChangeSupport changes
public MinMaxGapFunction()
public boolean execute(Interval lhs, Interval rhs)
GapFunctionexecute in class GapFunctionlhs - the first Interval.rhs - the second Interval.true or false.public Integer getMinimumGap()
public Unit getMinimumGapUnit()
public Integer getMaximumGap()
public Unit getMaximumGapUnit()
public void setMaximumGap(Integer maximumGap)
public void setMinimumGap(Integer minimumGap)
public void setMaximumGapUnit(Unit unit)
public void setMinimumGapUnit(Unit unit)
Copyright © 2012–2016 Emory University. All rights reserved.