public abstract class AbstractSocket extends Term
Constructor and Description |
---|
AbstractSocket() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TermVisitor tv)
Visitor pattern
|
Term |
copyAndRetainFreeVar(java.util.AbstractMap<Var,Var> vMap,
int idExecCtx) |
void |
free()
Unlink variables inside the term
|
abstract java.net.InetAddress |
getAddress() |
abstract java.lang.Object |
getSocket() |
Term |
getTerm()
Gets the actual term referred by this Term. if the Term is a bound variable, the method gets the Term linked to the variable
|
boolean |
isAtom()
is this term a prolog (alphanumeric) atom?
|
boolean |
isAtomic()
is this term a constant prolog term?
|
abstract boolean |
isClientSocket() |
boolean |
isCompound()
is this term a prolog compound term?
|
abstract boolean |
isDatagramSocket() |
boolean |
isEmptyList()
is this term a null term?
|
boolean |
isEqual(Term t)
Tests if this term is (logically) equal to another
|
boolean |
isGreater(Term t)
is term greater than term t?
|
boolean |
isGreaterRelink(Term t,
java.util.ArrayList<java.lang.String> vorder) |
boolean |
isGround()
is this term a ground term?
|
boolean |
isList()
is this term a prolog list?
|
boolean |
isNumber()
is this term a prolog numeric term?
|
abstract boolean |
isServerSocket() |
boolean |
isStruct()
is this term a struct?
|
boolean |
isVar()
is this term a variable?
|
copyGoal, copyResult, createTerm, createTerm, equals, fromJSON, getIterator, isEqualObject, iteratedGoalTerm, match, match, parse, parse, resolveTerm, toJSON, unify
public abstract boolean isClientSocket()
public abstract boolean isServerSocket()
public abstract boolean isDatagramSocket()
public abstract java.lang.Object getSocket()
public abstract java.net.InetAddress getAddress()
public boolean isNumber()
Term
public boolean isStruct()
Term
public boolean isVar()
Term
public boolean isEmptyList()
Term
isEmptyList
in class Term
public boolean isAtomic()
Term
public boolean isCompound()
Term
isCompound
in class Term
public boolean isAtom()
Term
public boolean isList()
Term
public boolean isGround()
Term
public boolean isGreater(Term t)
Term
public boolean isGreaterRelink(Term t, java.util.ArrayList<java.lang.String> vorder)
public boolean isEqual(Term t)
Term
public Term getTerm()
Term
public void free()
Term
public Term copyAndRetainFreeVar(java.util.AbstractMap<Var,Var> vMap, int idExecCtx)
copyAndRetainFreeVar
in class Term
public void accept(TermVisitor tv)
Term