public abstract class AbstractSocket extends Term
Constructor and Description |
---|
AbstractSocket() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TermVisitor tv)
Visitor pattern
|
void |
free()
Unlink variables inside the term
|
abstract InetAddress |
getAddress() |
abstract 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,
ArrayList<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, getIterator, iteratedGoalTerm, match, parse, parse, resolveTerm, unify
public abstract boolean isClientSocket()
public abstract boolean isServerSocket()
public abstract boolean isDatagramSocket()
public abstract Object getSocket()
public abstract 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, ArrayList<String> vorder)
isGreaterRelink
in class Term
public boolean isEqual(Term t)
Term
public Term getTerm()
Term
public void free()
Term
public void accept(TermVisitor tv)
Term