public final class JLogMap
extends io.github.prolobjectlink.prolog.AbstractTerm
implements io.github.prolobjectlink.prolog.PrologMap
Modifier and Type | Field and Description |
---|---|
protected ubc.cs.JLog.Terms.jTerm |
value |
protected static int |
vIdexer |
protected int |
vIndex |
Modifier and Type | Method and Description |
---|---|
protected ubc.cs.JLog.Terms.jCompoundTerm |
adaptCompound(io.github.prolobjectlink.prolog.PrologTerm[] arguments) |
protected ubc.cs.JLog.Terms.jList |
adaptList(io.github.prolobjectlink.prolog.PrologTerm[] arguments) |
void |
clear() |
int |
compareTo(io.github.prolobjectlink.prolog.PrologTerm term) |
boolean |
contains(Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm> entry) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm>> |
entrySet() |
boolean |
equals(Object obj) |
io.github.prolobjectlink.prolog.PrologTerm |
get(Object key) |
io.github.prolobjectlink.prolog.PrologTerm |
getArgument(int index) |
io.github.prolobjectlink.prolog.PrologTerm[] |
getArguments() |
int |
getArity() |
String |
getFunctor() |
io.github.prolobjectlink.prolog.PrologTerm |
getHead() |
io.github.prolobjectlink.prolog.PrologTerm |
getTail() |
io.github.prolobjectlink.prolog.PrologTerm |
getTerm() |
int |
hashCode() |
boolean |
isAtom() |
boolean |
isAtomic() |
boolean |
isCompound() |
boolean |
isDouble() |
boolean |
isEmpty() |
boolean |
isEmptyList() |
boolean |
isEvaluable() |
boolean |
isFalseType() |
boolean |
isFloat() |
boolean |
isInteger() |
boolean |
isList() |
boolean |
isLong() |
boolean |
isNil() |
boolean |
isNullType() |
boolean |
isNumber() |
boolean |
isObjectType() |
boolean |
isReference() |
boolean |
isStructure() |
boolean |
isTrueType() |
boolean |
isVariable() |
boolean |
isVariableBound()
Check if Variable and bound.
|
boolean |
isVariableNotBound()
Check if current variable is not bound.
|
boolean |
isVoidType() |
Iterator<io.github.prolobjectlink.prolog.PrologTerm> |
iterator() |
Set<io.github.prolobjectlink.prolog.PrologTerm> |
keySet() |
void |
put(Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm> entry) |
io.github.prolobjectlink.prolog.PrologTerm |
put(io.github.prolobjectlink.prolog.PrologTerm key,
io.github.prolobjectlink.prolog.PrologTerm value) |
void |
putAll(Collection<Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm>> entries) |
void |
putAll(Map<? extends io.github.prolobjectlink.prolog.PrologTerm,? extends io.github.prolobjectlink.prolog.PrologTerm> m) |
void |
remove(Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm> entry) |
io.github.prolobjectlink.prolog.PrologTerm |
remove(Object key) |
int |
size() |
String |
toString() |
boolean |
unify(io.github.prolobjectlink.prolog.PrologTerm term) |
Collection<io.github.prolobjectlink.prolog.PrologTerm> |
values() |
cast, cast, cast, checkIndex, checkIndex, fromTerm, fromTermArray, getIndicator, getLogger, getObject, getProvider, getType, hasIndicator, isClass, isClause, isEntry, isField, isMap, isMixin, isParameter, isResult, isTerm, match, removeQuoted, toTerm, toTermArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cast, getIndicator, getObject, getProvider, getType, hasIndicator, isAtom, isAtomic, isClass, isDouble, isEmptyList, isEntry, isFalseType, isField, isFloat, isInteger, isList, isLong, isMap, isMixin, isNil, isNullType, isNumber, isObjectType, isParameter, isReference, isResult, isStructure, isTrueType, isVariable, isVariableBound, isVariableNotBound, isVoidType, match, unify
compareTo
forEach, spliterator
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected int vIndex
protected ubc.cs.JLog.Terms.jTerm value
protected static int vIdexer
public String getFunctor()
getFunctor
in interface io.github.prolobjectlink.prolog.PrologTerm
public io.github.prolobjectlink.prolog.PrologTerm[] getArguments()
getArguments
in interface io.github.prolobjectlink.prolog.PrologTerm
public io.github.prolobjectlink.prolog.PrologTerm getArgument(int index)
getArgument
in interface io.github.prolobjectlink.prolog.PrologTerm
getArgument
in class io.github.prolobjectlink.prolog.AbstractTerm
public int hashCode()
public boolean equals(Object obj)
public String toString()
public Iterator<io.github.prolobjectlink.prolog.PrologTerm> iterator()
public io.github.prolobjectlink.prolog.PrologTerm getHead()
getHead
in interface io.github.prolobjectlink.prolog.PrologList
public io.github.prolobjectlink.prolog.PrologTerm getTail()
getTail
in interface io.github.prolobjectlink.prolog.PrologList
public void putAll(Collection<Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm>> entries)
putAll
in interface io.github.prolobjectlink.prolog.PrologMap
public boolean contains(Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm> entry)
contains
in interface io.github.prolobjectlink.prolog.PrologMap
public void remove(Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm> entry)
remove
in interface io.github.prolobjectlink.prolog.PrologMap
public void put(Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm> entry)
put
in interface io.github.prolobjectlink.prolog.PrologMap
public io.github.prolobjectlink.prolog.PrologTerm put(io.github.prolobjectlink.prolog.PrologTerm key, io.github.prolobjectlink.prolog.PrologTerm value)
public Set<Map.Entry<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm>> entrySet()
public boolean containsKey(Object key)
containsKey
in interface Map<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm>
public boolean containsValue(Object value)
containsValue
in interface Map<io.github.prolobjectlink.prolog.PrologTerm,io.github.prolobjectlink.prolog.PrologTerm>
public io.github.prolobjectlink.prolog.PrologTerm get(Object key)
public io.github.prolobjectlink.prolog.PrologTerm remove(Object key)
public void putAll(Map<? extends io.github.prolobjectlink.prolog.PrologTerm,? extends io.github.prolobjectlink.prolog.PrologTerm> m)
public Set<io.github.prolobjectlink.prolog.PrologTerm> keySet()
public Collection<io.github.prolobjectlink.prolog.PrologTerm> values()
public boolean isEmpty()
public void clear()
public int size()
public int getArity()
getArity
in interface io.github.prolobjectlink.prolog.PrologTerm
public io.github.prolobjectlink.prolog.PrologTerm getTerm()
getTerm
in interface io.github.prolobjectlink.prolog.PrologTerm
public boolean isEvaluable()
isEvaluable
in interface io.github.prolobjectlink.prolog.PrologTerm
public boolean isCompound()
isCompound
in interface io.github.prolobjectlink.prolog.PrologTerm
protected final ubc.cs.JLog.Terms.jList adaptList(io.github.prolobjectlink.prolog.PrologTerm[] arguments)
protected final ubc.cs.JLog.Terms.jCompoundTerm adaptCompound(io.github.prolobjectlink.prolog.PrologTerm[] arguments)
public final boolean isAtom()
isAtom
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isNumber()
isNumber
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isFloat()
isFloat
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isDouble()
isDouble
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isInteger()
isInteger
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isLong()
isLong
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isVariable()
isVariable
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isList()
isList
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isStructure()
isStructure
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isNil()
isNil
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isEmptyList()
isEmptyList
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isAtomic()
isAtomic
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isTrueType()
isTrueType
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isFalseType()
isFalseType
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isNullType()
isNullType
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isVoidType()
isVoidType
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isObjectType()
isObjectType
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isReference()
isReference
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean unify(io.github.prolobjectlink.prolog.PrologTerm term)
unify
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isVariableBound()
isVariableBound
in interface io.github.prolobjectlink.prolog.PrologTerm
isVariableBound
in class io.github.prolobjectlink.prolog.AbstractTerm
public final boolean isVariableNotBound()
isVariableNotBound
in interface io.github.prolobjectlink.prolog.PrologTerm
isVariableNotBound
in class io.github.prolobjectlink.prolog.AbstractTerm
public final int compareTo(io.github.prolobjectlink.prolog.PrologTerm term)
compareTo
in interface Comparable<io.github.prolobjectlink.prolog.PrologTerm>
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.