Package jadex.rules.rulesystem.rete
Class Tuple
- java.lang.Object
- 
- jadex.rules.rulesystem.rete.Tuple
 
- 
 public class Tuple extends java.lang.ObjectA tuple stores a variable binding and optionally has a pointer to another predecessor tuple.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Test for equality.TuplegetLastTuple()Get the last tuple.java.lang.ObjectgetObject()Get the object.java.lang.ObjectgetObject(int index)Get the value at the index.java.util.ListgetObjects()Get the values.inthashCode()Get the hashcode.intsize()Get the size.java.lang.StringtoString()Get the string representation.
 
- 
- 
- 
Method Detail- 
getObjectpublic java.lang.Object getObject() Get the object.- Returns:
- The object.
 
 - 
getLastTuplepublic Tuple getLastTuple() Get the last tuple.- Returns:
- The last tuple.
 
 - 
sizepublic int size() Get the size.- Returns:
- The size.
 
 - 
getObjectpublic java.lang.Object getObject(int index) Get the value at the index.- Parameters:
- index- The index.
 
 - 
getObjectspublic java.util.List getObjects() Get the values.
 - 
hashCodepublic int hashCode() Get the hashcode.- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- The hash code.
 
 - 
equalspublic boolean equals(java.lang.Object obj) Test for equality. True, if both objects are equal.- Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() Get the string representation.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- The string representation.
 
 
- 
 
-