Update auto-updated Java files
[ldk-java] / src / main / java / org / ldk / structs / PayeePubKey.java
index 3f1ef3223a9e99cc6703536af232a8fc9792509a..e694e88018171655735e2405d67d4278d38f433c 100644 (file)
@@ -63,6 +63,9 @@ public class PayeePubKey extends CommonBase {
                return ret;
        }
 
+       @Override public int hashCode() {
+               return (int)this.hash();
+       }
        /**
         * Checks if two PayeePubKeys contain equal inner contents.
         * This ignores pointers and is_owned flags and looks at the values in fields.
@@ -74,4 +77,8 @@ public class PayeePubKey extends CommonBase {
                return ret;
        }
 
+       @Override public boolean equals(Object o) {
+               if (!(o instanceof PayeePubKey)) return false;
+               return this.eq((PayeePubKey)o);
+       }
 }