|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ITuple
Represents a tuple. A tuple is a list of terms which represents a record in a relation.
$Id: ITuple.java,v 1.14 2007-10-19 07:37:15 poettler_ric Exp $
| Method Summary | |
|---|---|
ITuple |
append(Collection<? extends ITerm> t)
Creates a new tupel with the tuples of this one and
appends the tuples of the submitted list at the end. |
List<IVariable> |
getAllVariables()
Returns all variables from this tupple. |
Set<IVariable> |
getVariables()
Returns all distinct variables from this tupple. |
boolean |
isGround()
Checks whether this tuple contains only ground terms. |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
boolean isGround()
true if all terms of this tuple are grounded;
false otherwise.Set<IVariable> getVariables()
List<IVariable> getAllVariables()
ITuple append(Collection<? extends ITerm> t)
this one and
appends the tuples of the submitted list at the end.
t - the tuples to add
IllegalArgumentException - if the list is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||