public abstract class JRef<T> extends Term
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
JRef.StrongJRef<T>  | 
static class  | 
JRef.WeakJRef<T>  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
accept(TermVisitor termVisitor)
Accepts a Jpc term visitor. 
 | 
boolean | 
equals(Object term)  | 
abstract org.minitoolbox.gc.ReferenceType | 
getReferenceType()  | 
abstract T | 
getReferent()  | 
boolean | 
hasFunctor(Functor functor)
Whether this term has a given functor. 
 | 
int | 
hashCode()  | 
boolean | 
isGround()  | 
static <T> JRef<T> | 
jRef(T ref)  | 
Term | 
preCompile(Environment env)  | 
Term | 
prepareForFrame(Environment env)  | 
Term | 
prepareForQuery(Environment env)  | 
static <T> JRef<T> | 
softJRef(T ref)  | 
static <T> JRef<T> | 
softJRef(T ref,
        ReferenceQueue<? super T> referenceQueue)  | 
static <T> JRef<T> | 
softJRef(T ref,
        ReferenceQueue<? super T> referenceQueue,
        Runnable cleaningTask)  | 
static <T> JRef<T> | 
softJRef(T ref,
        Runnable cleaningTask)  | 
String | 
toEscapedString()  | 
String | 
toString()
Reads the contents of this term (i.e., generates events) to a content handler 
 | 
String | 
toString(OperatorsContext o)  | 
void | 
unify(Term term)  | 
static <T> JRef<T> | 
weakJRef(T ref)  | 
static <T> JRef<T> | 
weakJRef(T ref,
        ReferenceQueue<? super T> referenceQueue)  | 
static <T> JRef<T> | 
weakJRef(T ref,
        ReferenceQueue<? super T> referenceQueue,
        Runnable cleaningTask)  | 
static <T> JRef<T> | 
weakJRef(T ref,
        Runnable cleaningTask)  | 
arg, arity, asList, basicIsList, basicRead, canUnify, changeVariablesNames, compile, compile, compile, compile, compileAndUnify, compileAndUnifyVars, getArgs, getNamedVariables, getNamedVariablesNames, getNonUnderscoreVariableNames, getNonUnderscoreVariables, getVariableNames, getVariables, hasFunctor, hasFunctor, hasFunctor, hasFunctor, hasVariable, isHilog, isList, listLength, prepareForFrame, prepareForQuery, read, read, replaceVariables, resolveBindings, termEquals, termEquals, termExpansion, toEscapedString, toEscapedString, unifyAndBind, varBindingspublic static <T> JRef<T> jRef(T ref)
public static <T> JRef<T> softJRef(T ref)
public static <T> JRef<T> softJRef(T ref, ReferenceQueue<? super T> referenceQueue)
public static <T> JRef<T> softJRef(T ref, ReferenceQueue<? super T> referenceQueue, Runnable cleaningTask)
public static <T> JRef<T> weakJRef(T ref)
public static <T> JRef<T> weakJRef(T ref, ReferenceQueue<? super T> referenceQueue)
public static <T> JRef<T> weakJRef(T ref, ReferenceQueue<? super T> referenceQueue, Runnable cleaningTask)
public abstract T getReferent()
public abstract org.minitoolbox.gc.ReferenceType getReferenceType()
public boolean hasFunctor(Functor functor)
TermhasFunctor in class Termfunctor - the functor of this term.public boolean isGround()
public String toEscapedString()
toEscapedString in class Termpublic String toString(OperatorsContext o)
public String toString()
Termpublic Term preCompile(Environment env)
preCompile in class Termpublic Term prepareForQuery(Environment env)
prepareForQuery in class Termpublic Term prepareForFrame(Environment env)
prepareForFrame in class Termpublic void accept(TermVisitor termVisitor)
TermCopyright © 2014. All rights reserved.