public class BinaryRelation<ET extends EntityType,RT extends RelationType> extends Relation<ET,RT>
Constructor and Description |
---|
BinaryRelation(RT type,
Entity<ET,RT> _first,
Entity<ET,RT> _second) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object oth) |
Entity<ET,RT> |
get(int pos) |
int |
getArity() |
Entity<ET,RT> |
getFirst() |
Entity<ET,RT> |
getSecond() |
int |
hashCode() |
getType, hasType, isSoft
getAttribute, getAttribute, setAttribute
public int getArity()
getArity
in class Relation<ET extends EntityType,RT extends RelationType>
public Entity<ET,RT> get(int pos)
get
in class Relation<ET extends EntityType,RT extends RelationType>
public int hashCode()
hashCode
in class Relation<ET extends EntityType,RT extends RelationType>
public boolean equals(Object oth)
equals
in class Relation<ET extends EntityType,RT extends RelationType>
Copyright © 2018 University of California, Santa Cruz. All rights reserved.