Class Tuple
java.lang.Object
edu.harvard.seas.pl.abcdatalog.engine.topdown.Tuple
A tuple of terms, i.e., an ordered list of fixed arity.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
elts
The terms in this tuple.
-
-
Constructor Details
-
Tuple
-
Tuple
-
-
Method Details
-
get
Returns the term at the ith position in this tuple (0-indexed).- Parameters:
i
- the position- Returns:
- the term
-
size
public int size()Returns the arity of this tuple.- Returns:
- the arity
-
unify
-
toString
-
hashCode
-
equals
-