Object

sigmastate.utils

Helpers

Related Doc: package utils

Permalink

object Helpers

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Helpers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class DecoderResultOps[A] extends AnyVal

    Permalink
  2. implicit final class EitherOps[+A, +B] extends AnyVal

    Permalink
  3. class MutableCell[T] extends AnyRef

    Permalink

    Helper class which encapsulates a mutable value.

  4. implicit final class TryOps[+A] extends AnyVal

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def castArray[A, B >: A](array: Array[A])(implicit arg0: ClassTag[B]): Array[B]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def concatArrays[T](arr1: Array[T], arr2: Array[T])(implicit arg0: ClassTag[T]): Array[T]

    Permalink

    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.

  8. def decodeBytes(base16String: String): Coll[Byte]

    Permalink

    Decodes the given hex string into a collection of bytes.

  9. def decodeECPoint(hexString: String): EcPointType

    Permalink

    Decodes the given hex string into GroupElement and then extracts the underlying EcPointType instance

  10. def decodeGroupElement(hexString: String): GroupElement

    Permalink

    Decodes the given hex string into byte array and then uses SigmaDsl.decodePoint() to construct GroupElement instance.

  11. def deepHashCode[T](arr: Array[T]): Int

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withReentrantLock[A](l: Lock)(block: ⇒ A): A

    Permalink

    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.

    l

    lock object which should be acquired by the current thread before block can start executing

    block

    block of code which will be executed retaining the lock

    returns

    the value produced by the block

  27. def xor(bas: Array[Byte]*): Array[Byte]

    Permalink
  28. def xor(ba1: Array[Byte], ba2: Array[Byte]): Array[Byte]

    Permalink
  29. def xorU(target: Array[Byte], xss: Seq[Array[Byte]]): Array[Byte]

    Permalink

    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.

    returns

    reference to the updated first argument to easy chaining of calls.

  30. def xorU(ba1: Array[Byte], ba2: Array[Byte]): Array[Byte]

    Permalink

    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.

    returns

    reference to the updated first argument to easy chaining of calls.

Inherited from AnyRef

Inherited from Any

Ungrouped