Update auto-generated bindings to 0.0.101
[ldk-java] / src / main / java / org / ldk / structs / RouteHintHop.java
index 26030859fd3be944055f83fad860b8d813af367b..744871efe0d4dc4c877fc542d322a645630adee7 100644 (file)
@@ -131,17 +131,6 @@ public class RouteHintHop extends CommonBase {
                return ret_hu_conv;
        }
 
-       /**
-        * Checks if two RouteHintHops contain equal inner contents.
-        * This ignores pointers and is_owned flags and looks at the values in fields.
-        * Two objects with NULL inner values will be considered "equal" here.
-        */
-       public boolean eq(RouteHintHop b) {
-               boolean ret = bindings.RouteHintHop_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
-               this.ptrs_to.add(b);
-               return ret;
-       }
-
        /**
         * Creates a copy of the RouteHintHop
         */
@@ -153,4 +142,23 @@ public class RouteHintHop extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Checks if two RouteHintHops contain equal inner contents.
+        */
+       public long hash() {
+               long ret = bindings.RouteHintHop_hash(this.ptr);
+               return ret;
+       }
+
+       /**
+        * Checks if two RouteHintHops contain equal inner contents.
+        * This ignores pointers and is_owned flags and looks at the values in fields.
+        * Two objects with NULL inner values will be considered "equal" here.
+        */
+       public boolean eq(RouteHintHop b) {
+               boolean ret = bindings.RouteHintHop_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+               this.ptrs_to.add(b);
+               return ret;
+       }
+
 }