Modifier and Type | Field and Description |
---|---|
static String |
EXCEPTION_VAR_NAME |
Constructor and Description |
---|
Solution(Map<String,Term> rawSolution,
PrologEngine prologEngine,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
<O> O |
asObject(String selector) |
<O> O |
asObject(String selector,
Type targetType) |
<O> O |
asObject(Term selector) |
<O> O |
asObject(Term selector,
Type targetType) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsKey(Object key,
boolean considerAllVariables) |
boolean |
containsValue(Object value) |
boolean |
containsValue(Object value,
boolean considerAllVariables) |
Set<Map.Entry<String,Term>> |
entrySet() |
Set<Map.Entry<String,Term>> |
entrySet(boolean considerAllVariables) |
Term |
get(Object key) |
Term |
get(Object key,
boolean considerAllVariables) |
Boolean |
getBoolean(String key) |
Byte |
getByte(String key) |
Character |
getChar(String key) |
Double |
getDouble(String key) |
Term |
getErrorTerm() |
Float |
getFloat(String key) |
Integer |
getInt(String key) |
Long |
getLong(String key) |
<O> O |
getObject(String key) |
<O> O |
getObject(String key,
Type type) |
OperatorsContext |
getOperatorsContext() |
Short |
getShort(String key) |
String |
getString(String key) |
boolean |
isEmpty() |
boolean |
isEmpty(boolean considerAllVariables) |
boolean |
isError() |
static boolean |
isJpcVariableName(String variableName) |
Set<String> |
keySet() |
Set<String> |
keySet(boolean considerAllVariables) |
Term |
put(String key,
Term value) |
void |
putAll(Map<? extends String,? extends Term> map) |
Term |
remove(Object key) |
void |
setOperatorsContext(OperatorsContext operatorsContext) |
int |
size() |
int |
size(boolean considerAllVariables) |
Collection<Term> |
values() |
Collection<Term> |
values(boolean considerAllVariables) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String EXCEPTION_VAR_NAME
public Solution(Map<String,Term> rawSolution, PrologEngine prologEngine, Jpc context)
public static boolean isJpcVariableName(String variableName)
public OperatorsContext getOperatorsContext()
public void setOperatorsContext(OperatorsContext operatorsContext)
public boolean isError()
public Term getErrorTerm()
public int size(boolean considerAllVariables)
public boolean isEmpty(boolean considerAllVariables)
public boolean containsKey(Object key)
containsKey
in interface Map<String,Term>
public boolean containsKey(Object key, boolean considerAllVariables)
public boolean containsValue(Object value)
containsValue
in interface Map<String,Term>
public boolean containsValue(Object value, boolean considerAllVariables)
public Collection<Term> values(boolean considerAllVariables)
public <O> O getObject(String key)
public <O> O asObject(String selector)
public <O> O asObject(Term selector)
Copyright © 2014. All rights reserved.