Packages

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]
  2. type SBigIntArray = SCollection[SBigInt.type]
  3. type SBooleanArray = SCollection[SBoolean.type]
  4. type SBoxArray = SCollection[SBox.type]
  5. type SByteArray = SCollection[SByte.type]
  6. type SGroupElementArray = SCollection[SGroupElement.type]
  7. type SIntArray = SCollection[SInt.type]
  8. type SLongArray = SCollection[SLong.type]
  9. type SShortArray = SCollection[SShort.type]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val AppendMethod: SMethod
  5. val ApplyMethod: SMethod
  6. final val CheckFlatmapBody_Info: OperationCostInfo[PerItemCost]

    We assume all flatMap body patterns have similar executon cost.

  7. val ExistsMethod: SMethod
  8. val FilterMethod: SMethod
  9. val FlatMapMethod: SMethod
  10. val FlatMapMethod_CostKind: PerItemCost

    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
  12. val ForallMethod: SMethod
  13. val GetOrElseMethod: SMethod
  14. val IndexOfMethod: SMethod
  15. val IndicesMethod: SMethod
  16. val IndicesMethod_CostKind: PerItemCost

    Cost of creating a collection of indices

  17. val MapMethod: SMethod
  18. final val MatchSingleArgMethodCall_Info: OperationCostInfo[FixedCost]

    Operation descriptor for matching flatMap method calls with valid lambdas.

  19. val PatchMethod: SMethod
  20. val SAvlTreeArray: SCollection[SAvlTree.type]
  21. val SBigIntArray: SCollection[SBigInt.type]
  22. val SBooleanArray: SCollection[SBoolean.type]

    This descriptors are instantiated once here and then reused.

  23. val SBoxArray: SCollection[SBox.type]
  24. val SByteArray: SCollection[SByte.type]
  25. val SByteArray2: SCollection[SCollection[SByte.type]]
  26. val SGroupElementArray: SCollection[SGroupElement.type]
  27. val SHeaderArray: SCollection[SHeader.type]
  28. val SIntArray: SCollection[SInt.type]
  29. val SLongArray: SCollection[SLong.type]
  30. val SShortArray: SCollection[SShort.type]
  31. val SSigmaPropArray: SCollection[SSigmaProp.type]
  32. val SizeMethod: SMethod

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

  33. val SliceMethod: SMethod
  34. val ThisType: SCollection[STypeVar]

    This descriptors are instantiated once here and then reused.

  35. val UpdateManyMethod: SMethod
  36. val UpdatedMethod: SMethod
  37. val ZipMethod: SMethod
  38. val Zip_CostKind: PerItemCost

    Cost descriptor of Coll.zip operation.

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

    Helper constructors.

  41. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  42. def checkValidFlatmap(mc: MethodCall)(implicit E: ErgoTreeEvaluator): Unit

    Checks that the given MethodCall operation is valid flatMap.

  43. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  44. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  46. val flatMap_BodyPatterns: Array[PartialFunction[SValue, Int]]

    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.

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

    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

  48. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  49. def getMethodById(methodId: Byte): Option[SMethod]

    Lookup method by its id in this type.

    Lookup method by its id in this type.

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

    Looks up the method descriptor by the method name.

    Looks up the method descriptor by the method name.

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

    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

  52. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  53. def indexOf_eval[A](mc: MethodCall, xs: Coll[A], elem: A, from: Int)(implicit E: ErgoTreeEvaluator): Int

    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

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

    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

  55. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  56. def isValidPropertyAccess(varId: Int, expr: SValue)(implicit E: ErgoTreeEvaluator): Boolean

    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

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

    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

  58. def methodById(methodId: Byte): SMethod

    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

  59. lazy val methods: Seq[SMethod]

    List of methods defined for instances of this type.

    List of methods defined for instances of this type.

    Definition Classes
    SCollectionSTypeCompanion
  60. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  61. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  62. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  63. def patch_eval[A](mc: MethodCall, xs: Coll[A], from: Int, patch: Coll[A], replaced: Int)(implicit E: ErgoTreeEvaluator): Coll[A]

    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

  64. val reprClass: Class[_]

    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
  65. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  66. def tIV: STypeVar

    Helper descriptors reused across different method descriptors.

  67. def tOV: STypeVar
  68. val tOVColl: SCollection[STypeVar]
  69. val tPredicate: SFunc
  70. def throwInvalidFlatmap(mc: MethodCall): Nothing
  71. def toString(): String
    Definition Classes
    AnyRef → Any
  72. def typeId: TypeCode

    Type identifier to use in method serialization

    Type identifier to use in method serialization

    Definition Classes
    SCollectionSTypeCompanion
  73. def typeName: String

    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
  74. def unapply(methodName: String): Option[SMethod]
    Definition Classes
    MethodByNameUnapply
  75. def updateMany_eval[A](mc: MethodCall, coll: Coll[A], indexes: Coll[Int], values: Coll[A])(implicit E: ErgoTreeEvaluator): Coll[A]

    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

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

    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

  77. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  78. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  79. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  80. def zip_eval[A, B](mc: MethodCall, xs: Coll[A], ys: Coll[B])(implicit E: ErgoTreeEvaluator): Coll[(A, B)]

    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

  81. object IsSingleArgMethodCall

    Recognizer of flatMap method calls with valid lambdas.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from MethodByNameUnapply

Inherited from STypeCompanion

Inherited from AnyRef

Inherited from Any

Ungrouped