org.jrdf.query.relation.mem
Class RelationFactoryImpl

java.lang.Object
  extended by org.jrdf.query.relation.mem.RelationFactoryImpl
All Implemented Interfaces:
RelationFactory

public final class RelationFactoryImpl
extends Object
implements RelationFactory


Constructor Summary
RelationFactoryImpl(AttributeComparator attributeComparator, TupleComparator tupleComparator)
           
 
Method Summary
 Relation getRelation(Set<Attribute> heading, Set<Tuple> tuples)
           
 Relation getRelation(Set<Tuple> tuples)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationFactoryImpl

public RelationFactoryImpl(AttributeComparator attributeComparator,
                           TupleComparator tupleComparator)
Method Detail

getRelation

public Relation getRelation(Set<Tuple> tuples)
Specified by:
getRelation in interface RelationFactory

getRelation

public Relation getRelation(Set<Attribute> heading,
                            Set<Tuple> tuples)
Specified by:
getRelation in interface RelationFactory