org.jrdf.query.relation.mem
Class TupleImpl

java.lang.Object
  extended by org.jrdf.query.relation.mem.TupleImpl
All Implemented Interfaces:
Tuple

public final class TupleImpl
extends Object
implements Tuple

Implementation of a tuple is a named finite set of attributeValues (attributes to a set of values).

Version:
$Id: TupleImpl.java 1045 2007-01-05 04:56:09Z newmana $
Author:
Andrew Newman

Method Summary
 boolean equals(Object obj)
           
 Set<AttributeValuePair> getAttributeValues()
          Returns the set of tuples (attribute name/values).
 SortedSet<AttributeValuePair> getSortedAttributeValues()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttributeValues

public Set<AttributeValuePair> getAttributeValues()
Description copied from interface: Tuple
Returns the set of tuples (attribute name/values).

Specified by:
getAttributeValues in interface Tuple
Returns:
the set of tuples (attribute/name values).

getSortedAttributeValues

public SortedSet<AttributeValuePair> getSortedAttributeValues()
Specified by:
getSortedAttributeValues in interface Tuple

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object