* 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(ChannelTypeFeatures b) {
+ public boolean eq(org.ldk.structs.ChannelTypeFeatures b) {
boolean ret = bindings.ChannelTypeFeatures_eq(this.ptr, b == null ? 0 : b.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(b);
return ret_hu_conv;
}
- /**
- * Creates a Features with the bits set which are known by the implementation
- */
- public static ChannelTypeFeatures known() {
- long ret = bindings.ChannelTypeFeatures_known();
- if (ret >= 0 && ret <= 4096) { return null; }
- org.ldk.structs.ChannelTypeFeatures ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.ChannelTypeFeatures(null, ret); }
- if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(ret_hu_conv); };
- return ret_hu_conv;
- }
-
/**
* Returns true if this `Features` object contains unknown feature flags which are set as
* \"required\".