Helper class which encapsulates a mutable value.
Concatenates two arrays into a new resulting array.
Concatenates two arrays into a new resulting array. All items of both arrays are copied to the result using System.arraycopy.
Decodes the given hex string into a collection of bytes.
Decodes the given hex string into GroupElement and then extracts the underlying EcPointType instance
Decodes the given hex string into byte array and then uses SigmaDsl.decodePoint() to construct GroupElement instance.
Executes the given block with a reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor lock accessed using synchronized methods and statements in Java.
Executes the given block with a reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor lock accessed using synchronized methods and statements in Java.
Note, using this method has an advantage of having this method in a stack trace in case of an exception in the block.
lock object which should be acquired by the current thread before block can start executing
block of code which will be executed retaining the lock
the value produced by the block
Same as xor
but makes in-place update of the first argument (hence suffix U
)
This is boxing-free version.
Same as xor
but makes in-place update of the first argument (hence suffix U
)
This is boxing-free version.
reference to the updated first argument to easy chaining of calls.
Same as xor
but makes in-place update of the first argument (hence suffix U
)
This is boxing-free version.
Same as xor
but makes in-place update of the first argument (hence suffix U
)
This is boxing-free version.
reference to the updated first argument to easy chaining of calls.