|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcsheets.ext.assertion.AssertionWarning
public class AssertionWarning
This class contains information about a warning in an assertion.
A warning denotes a possible inconsistency or incorrectens in
an assertion. Objects of this type are returned by Assertion.getWarnings()
Assertion,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
AssertionWarning.Type
Denotes the type of a warning. |
| Constructor Summary | |
|---|---|
AssertionWarning(AssertionWarning.Type type,
Interval i1,
Interval i2)
Constructor. |
|
| Method Summary | |
|---|---|
Interval |
getI1()
Returns the first interval involved in this warning. |
Interval |
getI2()
Returns the second interval involved in this warning. |
AssertionWarning.Type |
getType()
Returns the type of this warning. |
String |
toString()
Returns a message in english describing the conflict represented by this warning. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AssertionWarning(AssertionWarning.Type type,
Interval i1,
Interval i2)
type - Either INTERSECTING meaning that i1 and i2 intersects,
ENCLOSING meaning that i2 is completely enclosed by i1 or
EXCLUDING meaning that i2 is completely excluded by i1.i1 - One of the intervals of the conflict.i2 - The other interval of the conflict.| Method Detail |
|---|
public String toString()
toString in class Objectpublic AssertionWarning.Type getType()
public Interval getI1()
public Interval getI2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||