public class JplList
extends io.github.prolobjectlink.prolog.AbstractTerm
implements io.github.prolobjectlink.prolog.PrologList
Modifier and Type | Field and Description |
---|---|
static jpl.Term |
EMPTY |
protected jpl.Term |
value |
Modifier | Constructor and Description |
---|---|
protected |
JplList(io.github.prolobjectlink.prolog.PrologProvider provider) |
protected |
JplList(io.github.prolobjectlink.prolog.PrologProvider provider,
io.github.prolobjectlink.prolog.PrologTerm[] arguments) |
protected |
JplList(io.github.prolobjectlink.prolog.PrologProvider provider,
io.github.prolobjectlink.prolog.PrologTerm[] arguments,
io.github.prolobjectlink.prolog.PrologTerm tail) |
protected |
JplList(io.github.prolobjectlink.prolog.PrologProvider provider,
io.github.prolobjectlink.prolog.PrologTerm head,
io.github.prolobjectlink.prolog.PrologTerm tail) |
protected |
JplList(io.github.prolobjectlink.prolog.PrologProvider provider,
jpl.Term[] arguments) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(io.github.prolobjectlink.prolog.PrologTerm o) |
boolean |
equals(Object obj) |
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 |
isVoidType() |
Iterator<io.github.prolobjectlink.prolog.PrologTerm> |
iterator() |
int |
size() |
String |
toString() |
boolean |
unify(io.github.prolobjectlink.prolog.PrologTerm o) |
cast, cast, cast, checkIndex, checkIndex, fromTerm, fromTermArray, getArgument, getIndicator, getLogger, getObject, getProvider, getType, hasIndicator, isClass, isClause, isEntry, isField, isMap, isMixin, isParameter, isResult, isTerm, isVariableBound, isVariableNotBound, match, removeQuoted, toTerm, toTermArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
cast, getArgument, getIndicator, getObject, getProvider, getTerm, getType, hasIndicator, isAtom, isAtomic, isClass, isCompound, isDouble, isEmptyList, isEntry, isEvaluable, 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
protected JplList(io.github.prolobjectlink.prolog.PrologProvider provider)
protected JplList(io.github.prolobjectlink.prolog.PrologProvider provider, jpl.Term[] arguments)
protected JplList(io.github.prolobjectlink.prolog.PrologProvider provider, io.github.prolobjectlink.prolog.PrologTerm[] arguments)
protected JplList(io.github.prolobjectlink.prolog.PrologProvider provider, io.github.prolobjectlink.prolog.PrologTerm head, io.github.prolobjectlink.prolog.PrologTerm tail)
protected JplList(io.github.prolobjectlink.prolog.PrologProvider provider, io.github.prolobjectlink.prolog.PrologTerm[] arguments, io.github.prolobjectlink.prolog.PrologTerm tail)
public int size()
size
in interface io.github.prolobjectlink.prolog.PrologList
public void clear()
clear
in interface io.github.prolobjectlink.prolog.PrologList
public boolean isEmpty()
isEmpty
in interface io.github.prolobjectlink.prolog.PrologList
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 int getArity()
getArity
in interface io.github.prolobjectlink.prolog.PrologTerm
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 String toString()
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 isEvaluable()
isEvaluable
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isAtomic()
isAtomic
in interface io.github.prolobjectlink.prolog.PrologTerm
public final boolean isCompound()
isCompound
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 io.github.prolobjectlink.prolog.PrologTerm getTerm()
getTerm
in interface io.github.prolobjectlink.prolog.PrologTerm
getTerm
in class io.github.prolobjectlink.prolog.AbstractTerm
public final boolean unify(io.github.prolobjectlink.prolog.PrologTerm o)
unify
in interface io.github.prolobjectlink.prolog.PrologTerm
public final int compareTo(io.github.prolobjectlink.prolog.PrologTerm o)
compareTo
in interface Comparable<io.github.prolobjectlink.prolog.PrologTerm>
Copyright © 2020–2024 Prolobjectlink Project. All rights reserved.