1 package Analysis.Disjoint;
9 private FieldDescriptor f;
11 public EdgeKey(Integer srcId, Integer dstId, FieldDescriptor f) {
17 public String toString() {
18 return "<"+srcId+", "+f+", "+dstId+">";
21 public Integer getSrcId() {
25 public Integer getDstId() {
29 public FieldDescriptor getField() {
33 public boolean equals(Object o) {
40 if(!(o instanceof EdgeKey)) {
44 EdgeKey ek = (EdgeKey) o;
47 this.srcId.equals(ek.srcId) &&
48 this.dstId.equals(ek.dstId) &&
52 public int hashCode() {
53 return srcId.hashCode() ^ dstId.hashCode() ^ f.hashCode();