Skip to content

Commit

Permalink
add some stuff to impl
Browse files Browse the repository at this point in the history
  • Loading branch information
wagyourtail committed Jul 31, 2024
1 parent 09d0528 commit d58675d
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,15 @@ public boolean equals(Object obj) {
if (!(obj instanceof J_L_C_ClassDesc)) return false;
return descriptor.equals(((J_L_C_ClassDesc) obj).descriptorString());
}

@Override
public int hashCode() {
return descriptor.hashCode();
}

@Override
public String toString() {
return "ClassDesc[" + displayName() + "]";
}
}
}

0 comments on commit d58675d

Please sign in to comment.