Class ImmutableSignedTransaction<T extends Transaction>

    • Method Detail

      • hash

        public Hash256 hash()
        Deprecated.
        The hash of the signed transaction. This field is derived by computing the SHA512Half of the Signed Transaction hash prefix concatenated with the signed transaction blob.
        Specified by:
        hash in interface SignedTransaction<T extends Transaction>
        Returns:
        A Hash256 containing the transaction hash.
      • withSignedTransaction

        public final ImmutableSignedTransaction<T> withSignedTransaction​(T value)
        Deprecated.
        Copy the current immutable object by setting a value for the signedTransaction attribute. A shallow reference equality check is used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for signedTransaction
        Returns:
        A modified copy of the this object
      • withSignedTransactionBlob

        public final ImmutableSignedTransaction<T> withSignedTransactionBlob​(String value)
        Deprecated.
        Copy the current immutable object by setting a value for the signedTransactionBlob attribute. An equals check used to prevent copying of the same value by returning this.
        Parameters:
        value - A new value for signedTransactionBlob
        Returns:
        A modified copy of the this object
      • equals

        public boolean equals​(@Nullable
                              Object another)
        Deprecated.
        This instance is equal to all instances of ImmutableSignedTransaction that have equal attribute values.
        Overrides:
        equals in class Object
        Returns:
        true if this is equal to another instance
      • hashCode

        public int hashCode()
        Deprecated.
        Computes a hash code from attributes: signedTransaction, signedTransactionBlob, hash.
        Overrides:
        hashCode in class Object
        Returns:
        hashCode value
      • toString

        public String toString()
        Deprecated.
        Prints the immutable value SignedTransaction with attribute values.
        Overrides:
        toString in class Object
        Returns:
        A string representation of the value
      • copyOf

        public static <T extends TransactionImmutableSignedTransaction<T> copyOf​(SignedTransaction<T> instance)
        Deprecated.
        Creates an immutable copy of a SignedTransaction value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.
        Type Parameters:
        T - generic parameter T
        Parameters:
        instance - The instance to copy
        Returns:
        A copied immutable SignedTransaction instance