|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRaptor.Justification
public class Justification
Implements the Justification for a line in a proof.
Constructor Summary | |
---|---|
Justification(java.lang.String pType)
Constructs a Justification. |
|
Justification(java.lang.String pType,
java.util.List<ProofLine> pInput)
Constructs a Justification. |
|
Justification(java.lang.String pType,
ProgramLine pProg,
java.util.List<ProofLine> pInput)
Constructs a Justification. |
|
Justification(java.lang.String pType,
ProgramLine pProg,
java.util.List<ProofLine> pInput1,
java.util.List<ProofLine> pInput2)
Constructs a Justification. |
Method Summary | |
---|---|
java.lang.String |
display()
Returns a String which can be used to display the Justification in the ProofLine. |
java.util.List<ProofLine> |
getExtraLines()
Returns the extra lines contained in the justification. |
java.util.List<ProofLine> |
getLines()
Returns the lines contained in the Justification. |
ProgramLine |
getProgramLine()
Returns the program line contained in the justification. |
java.lang.String |
getSymbol()
Returns the String representing the type of the Justification. |
void |
setExtraLines(java.util.List<ProofLine> pExtraLines)
Sets the extra lines of the justification. |
void |
setLines(java.util.List<ProofLine> pLines)
Sets the lines of the justification |
java.util.List<ProofLine> |
sort(java.util.List<ProofLine> pInput)
Used to sort the list of referenced lines by line number and return the sorted list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Justification(java.lang.String pType)
pType
- Uses Types class to create a Justification of the given typepublic Justification(java.lang.String pType, java.util.List<ProofLine> pInput)
pType
- Uses Types class to create a Justification of the given typepInput
- A list of lines that are used in the Justificationpublic Justification(java.lang.String pType, ProgramLine pProg, java.util.List<ProofLine> pInput)
pType
- Uses Types class to create a Justification of the given typepProg
- the ProgramLine that is used in the justificationpInput
- A list of lines that are used in the Justificationpublic Justification(java.lang.String pType, ProgramLine pProg, java.util.List<ProofLine> pInput1, java.util.List<ProofLine> pInput2)
pType
- Uses Types class to create a Justification of the given typepProg
- the ProgramLine that is used in the justificationpInput1
- A list of lines that are used in the JustificationpInput2
- A list of lines that are used in the JustificationMethod Detail |
---|
public java.lang.String display()
public java.lang.String getSymbol()
public java.util.List<ProofLine> getLines()
public void setLines(java.util.List<ProofLine> pLines)
public java.util.List<ProofLine> getExtraLines()
public void setExtraLines(java.util.List<ProofLine> pExtraLines)
public ProgramLine getProgramLine()
public java.util.List<ProofLine> sort(java.util.List<ProofLine> pInput)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |