GraphEdge<ConstraintEdge,DetectorNode>
, java.lang.Comparable<ConstraintEdge>
public class ConstraintEdge extends AbstractEdge<ConstraintEdge,DetectorNode>
ConstraintGraph
,
DetectorNode
,
ExecutionPlan
Constructor | Description |
---|---|
ConstraintEdge(DetectorNode source,
DetectorNode target) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isSingleSource() |
Determine whether or not this ConstraintEdge resulted from an ordering
constraint having a single detector as its source (earlier detector).
|
void |
setConstraint(DetectorOrderingConstraint constraint) |
Set the DetectorOrderingConstraint that created this edge.
|
public ConstraintEdge(DetectorNode source, DetectorNode target)
source
- the source vertex (earlier Detector)target
- the target vertex (later Detector)public void setConstraint(DetectorOrderingConstraint constraint)
constraint
- the DetectorOrderingConstraint that created this edgepublic boolean isSingleSource()
SpotBugs is licensed under the LGPL.