Package gprover
Class XTerm
- java.lang.Object
-
- gprover.XTerm
-
public class XTerm extends java.lang.ObjectConstructs a Var object with default values.
-
-
Constructor Summary
Constructors Constructor Description XTerm()Constructs an XTerm object with default values.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcutMark()Removes the leading '+' character from the string representation of the term.longgetPV()Returns the value of the prefix term.java.lang.StringgetString()Returns the trimmed string representation of the term without the leading '+' character.intgetTermNumber()Returns the number of terms in the linked list of terms.java.lang.StringtoString()Returns the string representation of the term.
-
-
-
Field Detail
-
var
public Var var
-
-
Method Detail
-
getPV
public long getPV()
Returns the value of the prefix term.- Returns:
- the value of the prefix term
-
toString
public java.lang.String toString()
Returns the string representation of the term.- Overrides:
toStringin classjava.lang.Object- Returns:
- the string representation of the term
-
cutMark
public void cutMark()
Removes the leading '+' character from the string representation of the term.
-
getString
public java.lang.String getString()
Returns the trimmed string representation of the term without the leading '+' character.- Returns:
- the trimmed string representation of the term
-
getTermNumber
public int getTermNumber()
Returns the number of terms in the linked list of terms.- Returns:
- the number of terms in the linked list of terms
-
-