public class DefaultJpc extends Jpc
Modifier and Type | Method and Description |
---|---|
void |
forgetRef(Object ref) |
void |
forgetRefTerm(Compound term) |
<T> T |
fromTerm(Term term) |
<T> T |
fromTerm(Term term,
Type targetType) |
RefTermManager |
getRefTermManager() |
boolean |
handleError(Term errorTerm,
Term goal) |
Type |
inferType(Object object) |
ListTerm |
listTerm(List<?> objects) |
ListTerm |
listTerm(Object... objects) |
Compound |
newRefTerm(Object ref) |
Compound |
newRefTerm(Object ref,
Compound compound) |
Compound |
newSoftRefTerm(Object ref) |
Compound |
newSoftRefTerm(Object ref,
Compound compound) |
Compound |
newWeakRefTerm(Object ref) |
Compound |
newWeakRefTerm(Object ref,
Compound compound) |
Compound |
refTerm(Object o) |
<T> T |
resolveRefTerm(Compound compound) |
Compound |
toCompound(Object name,
List<?> args) |
<T extends Term> |
toTerm(Object object) |
<T extends Term> |
toTerm(Object object,
Class<T> targetType) |
getDefault, setDefault
public final Compound toCompound(Object name, List<?> args)
toCompound
in class Jpc
public boolean handleError(Term errorTerm, Term goal)
handleError
in class Jpc
public RefTermManager getRefTermManager()
getRefTermManager
in class Jpc
public Compound newSoftRefTerm(Object ref, Compound compound)
newSoftRefTerm
in class Jpc
public Compound newSoftRefTerm(Object ref)
newSoftRefTerm
in class Jpc
public Compound newWeakRefTerm(Object ref, Compound compound)
newWeakRefTerm
in class Jpc
public Compound newWeakRefTerm(Object ref)
newWeakRefTerm
in class Jpc
public Compound newRefTerm(Object ref)
newRefTerm
in class Jpc
public Compound newRefTerm(Object ref, Compound compound)
newRefTerm
in class Jpc
public void forgetRefTerm(Compound term)
forgetRefTerm
in class Jpc
public <T> T resolveRefTerm(Compound compound)
resolveRefTerm
in class Jpc
Copyright © 2014. All rights reserved.