Object/Trait

sigmastate

SCollection

Related Docs: trait SCollection | package sigmastate

Permalink

object SCollection extends STypeCompanion with MethodByNameUnapply

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SCollection
  2. MethodByNameUnapply
  3. STypeCompanion
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type SAvlTreeArray = SCollection[SAvlTree.type]

    Permalink
  2. type SBigIntArray = SCollection[SBigInt.type]

    Permalink
  3. type SBooleanArray = SCollection[SBoolean.type]

    Permalink
  4. type SBoxArray = SCollection[SBox.type]

    Permalink
  5. type SByteArray = SCollection[SByte.type]

    Permalink
  6. type SGroupElementArray = SCollection[SGroupElement.type]

    Permalink
  7. type SIntArray = SCollection[SInt.type]

    Permalink
  8. type SLongArray = SCollection[SLong.type]

    Permalink
  9. type SShortArray = SCollection[SShort.type]

    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. val AppendMethod: SMethod

    Permalink
  5. val ApplyMethod: SMethod

    Permalink
  6. final val CheckFlatmapBody_Info: OperationCostInfo[PerItemCost]

    Permalink

    We assume all flatMap body patterns have similar executon cost.

  7. val ExistsMethod: SMethod

    Permalink
  8. val FilterMethod: SMethod

    Permalink
  9. val FlatMapMethod: SMethod

    Permalink
  10. val FlatMapMethod_CostKind: PerItemCost

    Permalink

    BaseCost: 1) base cost of Coll.flatMap PerChunkCost: 1) cost of Coll.flatMap (per item) 2) new collection is allocated for each item 3) each collection is then appended to the resulting collection

  11. val FoldMethod: SMethod

    Permalink
  12. val ForallMethod: SMethod

    Permalink
  13. val GetOrElseMethod: SMethod

    Permalink
  14. val IndexOfMethod: SMethod

    Permalink
  15. val IndicesMethod: SMethod

    Permalink
  16. val IndicesMethod_CostKind: PerItemCost

    Permalink

    Cost of creating a collection of indices

  17. object IsSingleArgMethodCall

    Permalink

    Recognizer of flatMap method calls with valid lambdas.

  18. val MapMethod: SMethod

    Permalink
  19. final val MatchSingleArgMethodCall_Info: OperationCostInfo[FixedCost]

    Permalink

    Operation descriptor for matching flatMap method calls with valid lambdas.

  20. val PatchMethod: SMethod

    Permalink
  21. val SAvlTreeArray: SCollection[SAvlTree.type]

    Permalink
  22. val SBigIntArray: SCollection[SBigInt.type]

    Permalink
  23. val SBooleanArray: SCollection[SBoolean.type]

    Permalink

    This descriptors are instantiated once here and then reused.

  24. val SBoxArray: SCollection[SBox.type]

    Permalink
  25. val SByteArray: SCollection[SByte.type]

    Permalink
  26. val SByteArray2: SCollection[SCollection[SByte.type]]

    Permalink
  27. val SGroupElementArray: SCollection[SGroupElement.type]

    Permalink
  28. val SHeaderArray: SCollection[SHeader.type]

    Permalink
  29. val SIntArray: SCollection[SInt.type]

    Permalink
  30. val SLongArray: SCollection[SLong.type]

    Permalink
  31. val SShortArray: SCollection[SShort.type]

    Permalink
  32. val SSigmaPropArray: SCollection[SSigmaProp.type]

    Permalink
  33. val SizeMethod: SMethod

    Permalink

    The following SMethod instances are descriptors of methods defined in Coll type.

  34. val SliceMethod: SMethod

    Permalink
  35. val ThisType: SCollection[STypeVar]

    Permalink

    This descriptors are instantiated once here and then reused.

  36. val UpdateManyMethod: SMethod

    Permalink
  37. val UpdatedMethod: SMethod

    Permalink
  38. val ZipMethod: SMethod

    Permalink
  39. val Zip_CostKind: PerItemCost

    Permalink

    Cost descriptor of Coll.zip operation.

  40. def apply[T <: SType](implicit elemType: T, ov: Overload1): SCollection[T]

    Permalink
  41. def apply[T <: SType](elemType: T): SCollection[T]

    Permalink

    Helper constructors.

  42. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  43. def checkValidFlatmap(mc: MethodCall)(implicit E: ErgoTreeEvaluator): Unit

    Permalink

    Checks that the given MethodCall operation is valid flatMap.

  44. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  48. val flatMap_BodyPatterns: Array[PartialFunction[SValue, Int]]

    Permalink

    This patterns recognize all expressions, which are allowed as lambda body of flatMap.

    This patterns recognize all expressions, which are allowed as lambda body of flatMap. Other bodies are rejected with throwing exception.

  49. def flatMap_eval[A, B](mc: MethodCall, xs: Coll[A], f: (A) ⇒ Coll[B])(implicit E: ErgoTreeEvaluator): Coll[B]

    Permalink

    Implements evaluation of Coll.flatMap method call ErgoTree node.

    Implements evaluation of Coll.flatMap method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  50. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  51. def getMethodById(methodId: Byte): Option[SMethod]

    Permalink

    Lookup method by its id in this type.

    Lookup method by its id in this type.

    Definition Classes
    STypeCompanion
    Annotations
    @inline()
  52. def getMethodByName(name: String): SMethod

    Permalink

    Looks up the method descriptor by the method name.

    Looks up the method descriptor by the method name.

    Definition Classes
    STypeCompanion
  53. def getOrElse_eval[A](mc: MethodCall, xs: Coll[A], i: Int, default: A)(implicit E: ErgoTreeEvaluator): A

    Permalink

    Implements evaluation of Coll.getOrElse method call ErgoTree node.

    Implements evaluation of Coll.getOrElse method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  54. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  55. def indexOf_eval[A](mc: MethodCall, xs: Coll[A], elem: A, from: Int)(implicit E: ErgoTreeEvaluator): Int

    Permalink

    Implements evaluation of Coll.indexOf method call ErgoTree node.

    Implements evaluation of Coll.indexOf method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  56. def indices_eval[A, B](mc: MethodCall, xs: Coll[A])(implicit E: ErgoTreeEvaluator): Coll[Int]

    Permalink

    Implements evaluation of Coll.indices method call ErgoTree node.

    Implements evaluation of Coll.indices method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  57. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  58. def isValidPropertyAccess(varId: Int, expr: SValue)(implicit E: ErgoTreeEvaluator): Boolean

    Permalink

    Check the given expression is valid body of flatMap argument lambda.

    Check the given expression is valid body of flatMap argument lambda.

    varId

    id of lambda variable (see FuncValue.args)

    expr

    expression with is expected to use varId in ValUse node.

    returns

    true if the body is allowed

  59. def map_eval[A, B](mc: MethodCall, xs: Coll[A], f: (A) ⇒ B)(implicit E: ErgoTreeEvaluator): Coll[B]

    Permalink

    Implements evaluation of Coll.map method call ErgoTree node.

    Implements evaluation of Coll.map method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  60. def methodById(methodId: Byte): SMethod

    Permalink

    Lookup method in this type by method's id or throw ValidationException.

    Lookup method in this type by method's id or throw ValidationException. This method can be used in trySoftForkable section to either obtain valid method or catch ValidatioinException which can be checked for soft-fork condition. It delegate to getMethodById to lookup method.

    Definition Classes
    STypeCompanion
    See also

    getMethodById

  61. lazy val methods: Seq[SMethod]

    Permalink

    List of methods defined for instances of this type.

    List of methods defined for instances of this type.

    Definition Classes
    SCollectionSTypeCompanion
  62. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  65. def patch_eval[A](mc: MethodCall, xs: Coll[A], from: Int, patch: Coll[A], replaced: Int)(implicit E: ErgoTreeEvaluator): Coll[A]

    Permalink

    Implements evaluation of Coll.patch method call ErgoTree node.

    Implements evaluation of Coll.patch method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  66. val reprClass: Class[_]

    Permalink

    Class which represents values of this type.

    Class which represents values of this type. When method call is executed, the corresponding method of this class is invoked via reflection java.lang.reflect.Method.invoke().

    Definition Classes
    SCollectionSTypeCompanion
  67. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  68. def tIV: STypeVar

    Permalink

    Helper descriptors reused across different method descriptors.

  69. def tOV: STypeVar

    Permalink
  70. val tOVColl: SCollection[STypeVar]

    Permalink
  71. val tPredicate: SFunc

    Permalink
  72. def throwInvalidFlatmap(mc: MethodCall): Nothing

    Permalink
  73. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  74. def typeId: TypeCode

    Permalink

    Type identifier to use in method serialization

    Type identifier to use in method serialization

    Definition Classes
    SCollectionSTypeCompanion
  75. def typeName: String

    Permalink

    If this is SType instance then returns the name of the corresponding RType.

    If this is SType instance then returns the name of the corresponding RType. Otherwise returns the name of type companion object (e.g. SCollection).

    Definition Classes
    STypeCompanion
  76. def unapply(methodName: String): Option[SMethod]

    Permalink
    Definition Classes
    MethodByNameUnapply
  77. def updateMany_eval[A](mc: MethodCall, coll: Coll[A], indexes: Coll[Int], values: Coll[A])(implicit E: ErgoTreeEvaluator): Coll[A]

    Permalink

    Implements evaluation of Coll.updateMany method call ErgoTree node.

    Implements evaluation of Coll.updateMany method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  78. def updated_eval[A](mc: MethodCall, coll: Coll[A], index: Int, elem: A)(implicit E: ErgoTreeEvaluator): Coll[A]

    Permalink

    Implements evaluation of Coll.updated method call ErgoTree node.

    Implements evaluation of Coll.updated method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

  79. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. def zip_eval[A, B](mc: MethodCall, xs: Coll[A], ys: Coll[B])(implicit E: ErgoTreeEvaluator): Coll[(A, B)]

    Permalink

    Implements evaluation of Coll.zip method call ErgoTree node.

    Implements evaluation of Coll.zip method call ErgoTree node. Called via reflection based on naming convention.

    See also

    SMethod.evalMethod

Inherited from MethodByNameUnapply

Inherited from STypeCompanion

Inherited from AnyRef

Inherited from Any

Ungrouped