|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.query.relation.mem.RelationImpl
public final class RelationImpl
Implementation of relations containing a set of tuples and a set of attributes. The attribute constitute a heading the maps to the tuple values.
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Set<Attribute> |
getHeading()
Returns the set of attributes or heading of the relation. |
SortedSet<Attribute> |
getSortedHeading()
|
SortedSet<Tuple> |
getSortedTuples()
|
Set<Tuple> |
getTuples()
Returns the set of tuples. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Set<Attribute> getHeading()
Relation
getHeading in interface Relationpublic Set<Tuple> getTuples()
Relation
getTuples in interface Relationpublic SortedSet<Attribute> getSortedHeading()
getSortedHeading in interface Relationpublic SortedSet<Tuple> getSortedTuples()
getSortedTuples in interface Relationpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||