public class ViolationPoints extends Object
| Constructor and Description |
|---|
ViolationPoints()
Creates a new empty set of violation points.
|
ViolationPoints(String variable,
String selector)
Creates a set of violation points that containsSubsumingState a single violation point.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String variable,
String selector)
Adds another violation point.
|
void |
addAll(ViolationPoints vio)
Add all violation points to this set of violation points.
|
static ViolationPoints |
getEmptyViolationPoints() |
Set<String> |
getSelectorsOf(String variable) |
Set<String> |
getVariables() |
String |
toString() |
public ViolationPoints()
public ViolationPoints(String variable, String selector)
variable - The name of the variable that makes up a violation point.selector - The name of the selector that makes up a violation point.public static ViolationPoints getEmptyViolationPoints()
public void add(String variable, String selector)
variable - The name of the variable that makes up a violation point.selector - The name of the selector that makes up a violation point.public void addAll(ViolationPoints vio)
vio - Another set of violation points.public Set<String> getSelectorsOf(String variable)
variable - The name of a variable.public Set<String> getVariables()
Copyright © 2018. All rights reserved.