add ur toString

This commit is contained in:
Craig Raw 2020-09-03 09:38:16 +02:00
parent 4cdffec060
commit 9dd52f120f
2 changed files with 5 additions and 1 deletions

2
drongo

@ -1 +1 @@
Subproject commit c7e16a29e33d802ac209c046eddb5e040b76f704 Subproject commit 6b4b2529c803581b13e1604acd230dff24c839b4

View file

@ -81,6 +81,10 @@ public class UR {
} }
} }
public String toString() {
return UREncoder.encode(this);
}
@Override @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if(this == o) { if(this == o) {