+ /**
+ * Checks if two OutPoints 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(OutPoint b) {
+ boolean ret = bindings.OutPoint_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+ this.ptrs_to.add(b);
+ return ret;
+ }
+
+ /**
+ * Checks if two OutPoints contain equal inner contents.
+ */
+ public long hash() {
+ long ret = bindings.OutPoint_hash(this.ptr);
+ return ret;
+ }
+