return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof Balance)) return false;
+ return this.eq((Balance)o);
+ }
}
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof ChannelFeatures)) return false;
+ return this.eq((ChannelFeatures)o);
+ }
long clone_ptr() {
long ret = bindings.ChannelFeatures_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Construct an object of the class
*/
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two Descriptions contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof Description)) return false;
+ return this.eq((Description)o);
+ }
/**
* Creates a new `Description` if `description` is at most 1023 __bytes__ long,
* returns `CreationError::DescriptionTooLong` otherwise
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two ExpiryTimes contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof ExpiryTime)) return false;
+ return this.eq((ExpiryTime)o);
+ }
/**
* Construct an `ExpiryTime` from seconds. If there exists a `PositiveTimestamp` which would
* overflow on adding the `EpiryTime` to it then this function will return a
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two Fallbacks contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof Fallback)) return false;
+ return this.eq((Fallback)o);
+ }
}
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof InitFeatures)) return false;
+ return this.eq((InitFeatures)o);
+ }
long clone_ptr() {
long ret = bindings.InitFeatures_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof Invoice)) return false;
+ return this.eq((Invoice)o);
+ }
long clone_ptr() {
long ret = bindings.Invoice_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof InvoiceFeatures)) return false;
+ return this.eq((InvoiceFeatures)o);
+ }
long clone_ptr() {
long ret = bindings.InvoiceFeatures_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof InvoiceSignature)) return false;
+ return this.eq((InvoiceSignature)o);
+ }
}
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two MinFinalCltvExpirys contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof MinFinalCltvExpiry)) return false;
+ return this.eq((MinFinalCltvExpiry)o);
+ }
}
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two MonitorUpdateIds contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof MonitorUpdateId)) return false;
+ return this.eq((MonitorUpdateId)o);
+ }
}
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof NodeFeatures)) return false;
+ return this.eq((NodeFeatures)o);
+ }
long clone_ptr() {
long ret = bindings.NodeFeatures_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Serialize the NodeId object into a byte array which can be read by NodeId_read
*/
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof OutPoint)) return false;
+ return this.eq((OutPoint)o);
+ }
/**
* Checks if two OutPoints contain equal inner contents.
*/
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Convert an `OutPoint` to a lightning channel id.
*/
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two Payees contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof Payee)) return false;
+ return this.eq((Payee)o);
+ }
/**
* Serialize the Payee object into a byte array which can be read by Payee_read
*/
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.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof PayeePubKey)) return false;
+ return this.eq((PayeePubKey)o);
+ }
}
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof PositiveTimestamp)) return false;
+ return this.eq((PositiveTimestamp)o);
+ }
long clone_ptr() {
long ret = bindings.PositiveTimestamp_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two PrivateRoutes contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof PrivateRoute)) return false;
+ return this.eq((PrivateRoute)o);
+ }
/**
* Creates a new (partial) route from a list of hops
*/
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof RawDataPart)) return false;
+ return this.eq((RawDataPart)o);
+ }
long clone_ptr() {
long ret = bindings.RawDataPart_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof RawInvoice)) return false;
+ return this.eq((RawInvoice)o);
+ }
long clone_ptr() {
long ret = bindings.RawInvoice_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof RetryAttempts)) return false;
+ return this.eq((RetryAttempts)o);
+ }
/**
* Checks if two RetryAttemptss contain equal inner contents.
*/
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
}
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two Routes contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof Route)) return false;
+ return this.eq((Route)o);
+ }
/**
* Returns the total amount of fees paid on this [`Route`].
*
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two RouteHints contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof RouteHint)) return false;
+ return this.eq((RouteHint)o);
+ }
/**
* Serialize the RouteHint object into a byte array which can be read by RouteHint_read
*/
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two RouteHintHops contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof RouteHintHop)) return false;
+ return this.eq((RouteHintHop)o);
+ }
/**
* Serialize the RouteHintHop object into a byte array which can be read by RouteHintHop_read
*/
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two RouteHops contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof RouteHop)) return false;
+ return this.eq((RouteHop)o);
+ }
/**
* Serialize the RouteHop object into a byte array which can be read by RouteHop_read
*/
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof RoutingFees)) return false;
+ return this.eq((RoutingFees)o);
+ }
long clone_ptr() {
long ret = bindings.RoutingFees_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Serialize the RoutingFees object into a byte array which can be read by RoutingFees_read
*/
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
/**
* Checks if two Sha256s contain equal inner contents.
* This ignores pointers and is_owned flags and looks at the values in fields.
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof Sha256)) return false;
+ return this.eq((Sha256)o);
+ }
}
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof SignOrCreationError)) return false;
+ return this.eq((SignOrCreationError)o);
+ }
/**
* Get the string representation of a SignOrCreationError object
*/
return ret;
}
+ @Override public boolean equals(Object o) {
+ if (!(o instanceof SignedRawInvoice)) return false;
+ return this.eq((SignedRawInvoice)o);
+ }
long clone_ptr() {
long ret = bindings.SignedRawInvoice_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
long clone_ptr() {
long ret = bindings.SocketDescriptor_clone_ptr(this.ptr);
return ret;
return ret;
}
+ @Override public int hashCode() {
+ return (int)this.hash();
+ }
}