public class InitiallyFlatTermModel extends TermModel
children, listMaxLength, node, root
Constructor and Description |
---|
InitiallyFlatTermModel() |
InitiallyFlatTermModel(Object n)
Variable names and their numbers - order of the first occurrence
|
InitiallyFlatTermModel(Object n,
TermModel[] c,
boolean isAList) |
Modifier and Type | Method and Description |
---|---|
void |
deflate()
rebuilds field canonicalTerm and nullifies node and children, so that the term looses its tree and
becomes ready for quicker serialization; unfortunately this method must be invoked explicitly...
|
static ObjectExamplePair |
example() |
String |
getCanonicalTerm() |
static TermModel[] |
getTermList(File F)
Get a TermModel array previously written by Prolog with ipPutTermList(L,FilePath)
|
boolean |
isStillFlat() |
String |
toString()
Returns a close imitation of a Prolog's write, following infix/prefix/postfix operartor declarations.
|
addChildren, addTermModelListener, addTreeModelListener, assignTermChanges, assignToVar, clone, deleteChildren, deleteChildren, destroy, destroy, doubleQuotes, equals, findPathForNode, fireTermChanged, flatList, flatList, flatListToString, getChild, getChild, getChildCount, getChildCount, getChildren, getFunctorArity, getIndexOfChild, getRoot, getTemplate, hashCode, intValue, isAtom, isInteger, isLeaf, isLeaf, isList, isListEnd, isLong, isNumber, isRoot, isVar, listToString, longValue, makeIntegerVector, makeList, makeList, makeList, nodeIsVar, parenthesize, precedence, props2Hashtable, quoteIfFirstUpper, quotesAreNeeded, removeTermModelListener, removeTreeModelListener, setChild, setChildren, setNodeValue, setRoot, setRoot, toIndentedString, toIndentedString, toString, toString, toString, toString, unifies, valueForPathChanged, variant, variant
public InitiallyFlatTermModel(Object n)
public InitiallyFlatTermModel()
public static TermModel[] getTermList(File F)
public void deflate()
public static ObjectExamplePair example()
public String toString()
TermModel
public boolean isStillFlat()
public String getCanonicalTerm()