Trait

special.collection.Colls

ReplColl

Related Doc: package Colls

Permalink

trait ReplColl[A] extends scalan.Library.Node with scalan.Library.Coll[A]

Annotations
@Liftable() @WithMethodCallRecognizers()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReplColl
  2. Coll
  3. Def
  4. Node
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def append(other: scalan.Library.Ref[scalan.Library.Coll[A]]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    ReplCollColl
  2. abstract def apply(i: scalan.Library.Ref[Int]): scalan.Library.Ref[A]

    Permalink
    Definition Classes
    Coll
  3. abstract def builder: scalan.Library.Ref[scalan.Library.CollBuilder]

    Permalink
    Definition Classes
    Coll
  4. abstract def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    Equals
  5. implicit abstract def eA: scalan.Library.Elem[A]

    Permalink
    Definition Classes
    ReplCollColl
  6. abstract def exists(p: scalan.Library.Ref[(A) ⇒ Boolean]): scalan.Library.Ref[Boolean]

    Permalink
    Definition Classes
    Coll
  7. abstract def filter(p: scalan.Library.Ref[(A) ⇒ Boolean]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  8. abstract def flatMap[B](f: scalan.Library.Ref[(A) ⇒ scalan.Library.Coll[B]]): scalan.Library.Ref[scalan.Library.Coll[B]]

    Permalink
    Definition Classes
    Coll
  9. abstract def foldLeft[B](zero: scalan.Library.Ref[B], op: scalan.Library.Ref[((B, A)) ⇒ B]): scalan.Library.Ref[B]

    Permalink
    Definition Classes
    Coll
  10. abstract def forall(p: scalan.Library.Ref[(A) ⇒ Boolean]): scalan.Library.Ref[Boolean]

    Permalink
    Definition Classes
    Coll
  11. abstract def getOrElse(index: scalan.Library.Ref[Int], default: scalan.Library.Ref[A]): scalan.Library.Ref[A]

    Permalink
    Definition Classes
    Coll
  12. abstract def indexWhere(p: scalan.Library.Ref[(A) ⇒ Boolean], from: scalan.Library.Ref[Int]): scalan.Library.Ref[Int]

    Permalink
    Definition Classes
    Coll
  13. abstract def indices: scalan.Library.Ref[scalan.Library.Coll[Int]]

    Permalink
    Definition Classes
    Coll
  14. abstract def isDefinedAt(idx: scalan.Library.Ref[Int]): scalan.Library.Ref[Boolean]

    Permalink
    Definition Classes
    Coll
  15. abstract def isEmpty: scalan.Library.Ref[Boolean]

    Permalink
    Definition Classes
    Coll
  16. abstract def lastIndexWhere(p: scalan.Library.Ref[(A) ⇒ Boolean], end: scalan.Library.Ref[Int]): scalan.Library.Ref[Int]

    Permalink
    Definition Classes
    Coll
  17. abstract def length: scalan.Library.Ref[Int]

    Permalink
    Definition Classes
    ReplCollColl
  18. abstract def map[B](f: scalan.Library.Ref[(A) ⇒ B]): scalan.Library.Ref[scalan.Library.Coll[B]]

    Permalink
    Definition Classes
    Coll
  19. abstract def mapReduce[K, V](m: scalan.Library.Ref[(A) ⇒ (K, V)], r: scalan.Library.Ref[((V, V)) ⇒ V]): scalan.Library.Ref[scalan.Library.Coll[(K, V)]]

    Permalink
    Definition Classes
    Coll
  20. abstract def nonEmpty: scalan.Library.Ref[Boolean]

    Permalink
    Definition Classes
    Coll
  21. abstract def partition(pred: scalan.Library.Ref[(A) ⇒ Boolean]): scalan.Library.Ref[(scalan.Library.Coll[A], scalan.Library.Coll[A])]

    Permalink
    Definition Classes
    Coll
  22. abstract def patch(from: scalan.Library.Ref[Int], patch: scalan.Library.Ref[scalan.Library.Coll[A]], replaced: scalan.Library.Ref[Int]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  23. abstract def productArity: Int

    Permalink
    Definition Classes
    Product
  24. abstract def productElement(n: Int): Any

    Permalink
    Definition Classes
    Product
  25. abstract def resultType: scalan.Library.Elem[scalan.Library.Coll[A]]

    Permalink

    Type of a resulting value produced by the operation represented by this definition.

    Type of a resulting value produced by the operation represented by this definition. For example, if this definition represents application of +: (Int, Int) => Int operation then the result type is Int and resultType should return IntElement.

    Definition Classes
    Def
  26. abstract def reverse: scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  27. abstract def segmentLength(p: scalan.Library.Ref[(A) ⇒ Boolean], from: scalan.Library.Ref[Int]): scalan.Library.Ref[Int]

    Permalink
    Definition Classes
    Coll
  28. abstract def slice(from: scalan.Library.Ref[Int], until: scalan.Library.Ref[Int]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  29. abstract def sum(m: scalan.Library.Ref[scalan.Library.Monoid[A]]): scalan.Library.Ref[A]

    Permalink
    Definition Classes
    Coll
  30. abstract def take(n: scalan.Library.Ref[Int]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  31. abstract def unionSet(that: scalan.Library.Ref[scalan.Library.Coll[A]]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  32. abstract def updateMany(indexes: scalan.Library.Ref[scalan.Library.Coll[Int]], values: scalan.Library.Ref[scalan.Library.Coll[A]]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  33. abstract def updated(index: scalan.Library.Ref[Int], elem: scalan.Library.Ref[A]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
  34. abstract def value: scalan.Library.Ref[A]

    Permalink
  35. abstract def zip[B](ys: scalan.Library.Ref[scalan.Library.Coll[B]]): scalan.Library.Ref[scalan.Library.Coll[(A, B)]]

    Permalink
    Definition Classes
    Coll

Concrete 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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def deps: Array[scalan.Library.Sym]

    Permalink

    Dependencies of this definition from other definitions.

    Dependencies of this definition from other definitions. If definition is interpreted as an operation, then dependencies are arguments of the operation. If definition if compound (like Lambda of ThunkDef) then deps is equals to free variables used in the body of the compound definition. This array also refers to predecessors of this graph node, so it is used to build topological ordering (execution schedule) of operations.

    returns

    array of referencies to other definitions.

    Definition Classes
    Node
  7. def diff(that: scalan.Library.Ref[scalan.Library.Coll[A]]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
    Annotations
    @NeverInline()
  8. final def elements: Array[AnyRef]

    Permalink

    All data elements of this graph node to be used in structural equality.

    All data elements of this graph node to be used in structural equality.

    Definition Classes
    Node
    See also

    equals where elements are used.

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(other: Any): Boolean

    Permalink

    Default equality of definitions.

    Default equality of definitions. Two definitions are equal if they have same elements.

    Definition Classes
    Node → Equals → AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def find(p: scalan.Library.Ref[(A) ⇒ Boolean]): scalan.Library.Ref[scalan.Library.WOption[A]]

    Permalink
    Definition Classes
    Coll
    Annotations
    @NeverInline()
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getDeps: Array[scalan.Library.Sym]

    Permalink

    Override to redefine how dependencies are computed.

    Override to redefine how dependencies are computed. For example, in core implementation this is overriden in Lambda and ThunkDef using freeVars.

    Attributes
    protected
    Definition Classes
    Node
  15. def groupBy[K](key: scalan.Library.Ref[(A) ⇒ K]): scalan.Library.Ref[scalan.Library.Coll[(K, scalan.Library.Coll[A])]]

    Permalink
    Definition Classes
    Coll
    Annotations
    @NeverInline()
  16. def groupByProjecting[K, V](key: scalan.Library.Ref[(A) ⇒ K], proj: scalan.Library.Ref[(A) ⇒ V]): scalan.Library.Ref[scalan.Library.Coll[(K, scalan.Library.Coll[V])]]

    Permalink
    Definition Classes
    Coll
    Annotations
    @NeverInline()
  17. def hashCode(): Int

    Permalink

    Computed once and saved to avoid repeated computations, which is not necessary because definitions are immutable by default.

    Computed once and saved to avoid repeated computations, which is not necessary because definitions are immutable by default. If some definition require mutability, this method can be overriden accordingly.

    Definition Classes
    Node → AnyRef → Any
  18. def indexOf(elem: scalan.Library.Ref[A], from: scalan.Library.Ref[Int]): scalan.Library.Ref[Int]

    Permalink
    Definition Classes
    Coll
    Annotations
    @NeverInline()
  19. def intersect(that: scalan.Library.Ref[scalan.Library.Coll[A]]): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink
    Definition Classes
    Coll
    Annotations
    @NeverInline()
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def mirror(t: scalan.Library.Transformer): scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink

    Clone this definition transforming all symbols using t.

    Clone this definition transforming all symbols using t. If new Def[A] is created, it is added to the graph with collapsing and rewriting. Can be overriden to implement node-specific mirroring (see MethodCall).

    t

    mapping of symbols to symbols (Ref[_] => Ref[_])

    returns

    symbol of the logical clone. If d don't contain symbols, then d.self is returned.

    Definition Classes
    Def
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def nodeId: Int

    Permalink

    Unique id of the graph node assigned for each new instance using freshId generator.

    Unique id of the graph node assigned for each new instance using freshId generator. Doesn't participate in equality of this Def, thus definitions with different ids may still be structurally equal. Used to provide global Def numbering.

    Definition Classes
    Node
    Annotations
    @inline()
  24. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  26. def productIterator: Iterator[Any]

    Permalink
    Definition Classes
    Product
  27. def productPrefix: String

    Permalink
    Definition Classes
    Product
  28. final def self: scalan.Library.Ref[scalan.Library.Coll[A]]

    Permalink

    Reference to this definition created lazily on demand.

    Reference to this definition created lazily on demand.

    Definition Classes
    Def
  29. def size: scalan.Library.Ref[Int]

    Permalink
    Definition Classes
    Coll
  30. final def syms: Array[scalan.Library.Sym]

    Permalink

    References to other nodes in this Def instance.

    References to other nodes in this Def instance. Note: This is different form deps for compound definitions like Lambda and ThunkDef.

    Definition Classes
    Node
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink

    User readable string representation of this definition.

    User readable string representation of this definition. (for debugging only)

    Definition Classes
    Node → AnyRef → Any
  33. def transform(t: scalan.Library.Transformer): scalan.Library.Def[scalan.Library.Coll[A]]

    Permalink

    Create a copy of this definition applying the given transformer to all syms.

    Create a copy of this definition applying the given transformer to all syms.

    Definition Classes
    Def
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from scalan.Library.Coll[A]

Inherited from scalan.Library.Node

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped