gnu.prolog.term
Class TermCloneContext
java.lang.Object
   gnu.prolog.term.TermCloneContext
gnu.prolog.term.TermCloneContext
- public class TermCloneContext 
- extends Object
 
| Method Summary | 
|  Term | getTerm(Term term)get cloned term if it is alrady added to context
 | 
|  void | putTerm(Term term,
        Term cloned)put cloned term to context
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
TermCloneContext
public TermCloneContext()
getTerm
public Term getTerm(Term term)
- get cloned term if it is alrady added to context
 
- 
- Parameters:
- term- source term
- Returns:
- cloned term or null if it was not added
 
putTerm
public void putTerm(Term term,
                    Term cloned)
- put cloned term to context
 
- 
- Parameters:
- term- source term
- cloned- cloned term