cc.factorie.variable

ChainVar

trait ChainVar[This <: ChainVar[This, E], E <: ChainLink[E, This]] extends Chain[This, E] with IndexedSeqVar[E]

An abstract variable that is a Chain, with value IndexedSeq[ElementType].

Self Type
This
Linear Supertypes
IndexedSeqVar[E], SeqVar[E], Var, Chain[This, E], IndexedSeqSimilar[E], SeqSimilar[E], variable.ElementType[E], Iterable[E], IterableLike[E, Iterable[E]], Equals, GenIterable[E], GenIterableLike[E, Iterable[E]], Traversable[E], GenTraversable[E], GenericTraversableTemplate[E, Iterable], TraversableLike[E, Iterable[E]], GenTraversableLike[E, Iterable[E]], Parallelizable[E, ParIterable[E]], TraversableOnce[E], GenTraversableOnce[E], FilterMonadic[E, Iterable[E]], HasNewBuilder[E, Iterable[E]], variable.ThisType[This], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ChainVar
  2. IndexedSeqVar
  3. SeqVar
  4. Var
  5. Chain
  6. IndexedSeqSimilar
  7. SeqSimilar
  8. ElementType
  9. Iterable
  10. IterableLike
  11. Equals
  12. GenIterable
  13. GenIterableLike
  14. Traversable
  15. GenTraversable
  16. GenericTraversableTemplate
  17. TraversableLike
  18. GenTraversableLike
  19. Parallelizable
  20. TraversableOnce
  21. GenTraversableOnce
  22. FilterMonadic
  23. HasNewBuilder
  24. ThisType
  25. AnyRef
  26. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ElementType = E

    Definition Classes
    ElementType
  2. type Self = Iterable[E]

    Attributes
    protected
    Definition Classes
    TraversableLike
  3. type ThisType = This

    Definition Classes
    ThisType
  4. type Value = IndexedSeq[E]

    Definition Classes
    Chain
  5. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !==(other: Var): Boolean

    Definition Classes
    Var
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def ++[B >: E, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  6. def ++:[B >: E, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike
  7. def ++:[B >: E, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike
  8. def ++=(es: Iterable[E]): ChainVar.this.type

    Definition Classes
    Chain
  9. def +=(e: E): ChainVar.this.type

    Definition Classes
    Chain
  10. def /:[B](z: B)(op: (B, E) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. def :\[B](z: B)(op: (E, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  12. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  14. def ===(other: Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  15. def addString(b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  16. def addString(b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  17. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    TraversableOnce
  18. def aggregate[B](z: B)(seqop: (B, E) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  19. def apply(i: Int): E

    Definition Classes
    ChainSeqSimilar
  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def asSeq: IndexedSeq[E]

    Definition Classes
    Chain
  22. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  23. def chainFreeze(): Unit

    Definition Classes
    Chain
  24. def chainFrozen: Boolean

    Definition Classes
    Chain
  25. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def collect[B, That](pf: PartialFunction[E, B])(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  27. def collectFirst[B](pf: PartialFunction[E, B]): Option[B]

    Definition Classes
    TraversableOnce
  28. def companion: GenericCompanion[Iterable]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  29. def contains(elem: Any): Boolean

    Definition Classes
    SeqSimilar
  30. def copyToArray[B >: E](xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  31. def copyToArray[B >: E](xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  32. def copyToArray[B >: E](xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  33. def copyToBuffer[B >: E](dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  34. def count(p: (E) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def drop(n: Int): Iterable[E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  36. def dropRight(n: Int): Iterable[E]

    Definition Classes
    IterableLike
  37. def dropWhile(p: (E) ⇒ Boolean): Iterable[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  38. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  40. def exists(f: (E) ⇒ Boolean): Boolean

    Definition Classes
    SeqSimilar → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  41. def filter(p: (E) ⇒ Boolean): Iterable[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  42. def filterNot(p: (E) ⇒ Boolean): Iterable[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  43. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  44. def find(p: (E) ⇒ Boolean): Option[E]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  45. def flatMap[B, That](f: (E) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  46. def flatten[B](implicit asTraversable: (E) ⇒ GenTraversableOnce[B]): Iterable[B]

    Definition Classes
    GenericTraversableTemplate
  47. def fold[A1 >: E](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  48. def foldLeft[B](z: B)(op: (B, E) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  49. def foldRight[B](z: B)(op: (E, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  50. def forall(p: (E) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  51. def foreach[U](f: (E) ⇒ U): Unit

    Definition Classes
    SeqSimilar → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  52. def genericBuilder[B]: Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  53. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  54. def groupBy[K](f: (E) ⇒ K): Map[K, Iterable[E]]

    Definition Classes
    TraversableLike → GenTraversableLike
  55. def grouped(size: Int): Iterator[Iterable[E]]

    Definition Classes
    IterableLike
  56. def hasDefiniteSize: Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  57. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  58. def head: E

    Definition Classes
    SeqSimilar → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
  59. def headOption: Option[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  60. def indexOf[B >: E](elem: B, from: Int): Int

    Definition Classes
    SeqSimilar
  61. def indexOf[B >: E](elem: B): Int

    Definition Classes
    SeqSimilar
  62. def indexWhere(p: (E) ⇒ Boolean): Int

    Definition Classes
    SeqSimilar
  63. def indexWhere(p: (E) ⇒ Boolean, from: Int): Int

    Definition Classes
    SeqSimilar
  64. def init: Iterable[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  65. def inits: Iterator[Iterable[E]]

    Definition Classes
    TraversableLike
  66. def insert(i: Int, e: E): ChainVar.this.type

    Use with caution, since this would invalidate indices stored elsewhere

    Use with caution, since this would invalidate indices stored elsewhere

    Definition Classes
    Chain
  67. def isEmpty: Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  68. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  69. final def isTraversableAgain: Boolean

    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  70. def iterator: Iterator[E]

    Definition Classes
    SeqSimilar → IterableLike → GenIterableLike
  71. def last: E

    Definition Classes
    SeqSimilar → TraversableLike → GenTraversableLike
  72. def lastOption: Option[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  73. def length: Int

    Definition Classes
    ChainSeqSimilar
  74. final def links: IndexedSeq[E]

    Definition Classes
    Chain
    Annotations
    @inline()
  75. def map[B](f: (E) ⇒ B): IndexedSeq[B]

    Definition Classes
    IndexedSeqSimilarSeqSimilar
  76. def map[B, That](f: (E) ⇒ B)(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  77. def max[B >: E](implicit cmp: Ordering[B]): E

    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def maxBy[B](f: (E) ⇒ B)(implicit cmp: Ordering[B]): E

    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def min[B >: E](implicit cmp: Ordering[B]): E

    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def minBy[B](f: (E) ⇒ B)(implicit cmp: Ordering[B]): E

    Definition Classes
    TraversableOnce → GenTraversableOnce
  81. def mkString: String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. def mkString(sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  83. def mkString(start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  84. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  85. def newBuilder: Builder[E, Iterable[E]]

    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  86. def nonEmpty: Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. final def notify(): Unit

    Definition Classes
    AnyRef
  88. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  89. def par: ParIterable[E]

    Definition Classes
    Parallelizable
  90. def parCombiner: Combiner[E, ParIterable[E]]

    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  91. def partition(p: (E) ⇒ Boolean): (Iterable[E], Iterable[E])

    Definition Classes
    TraversableLike → GenTraversableLike
  92. def printName: String

    Definition Classes
    Var
  93. def product[B >: E](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def reduce[A1 >: E](op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def reduceLeft[B >: E](op: (B, E) ⇒ B): B

    Definition Classes
    TraversableOnce
  96. def reduceLeftOption[B >: E](op: (B, E) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def reduceOption[A1 >: E](op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  98. def reduceRight[B >: E](op: (E, B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  99. def reduceRightOption[B >: E](op: (E, B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  100. def remove(i: Int): ChainVar.this.type

    Use with caution, since this would invalidate indices stored elsewhere

    Use with caution, since this would invalidate indices stored elsewhere

    Definition Classes
    Chain
  101. def repr: Iterable[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  102. def reversed: List[E]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  103. def sameElements[B >: E](that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  104. def scan[B >: E, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  105. def scanLeft[B, That](z: B)(op: (B, E) ⇒ B)(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  106. def scanRight[B, That](z: B)(op: (E, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[E], B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  107. def seq: Iterable[E]

    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  108. def size: Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  109. def slice(from: Int, until: Int): Iterable[E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  110. def sliding(size: Int, step: Int): Iterator[Iterable[E]]

    Definition Classes
    IterableLike
  111. def sliding(size: Int): Iterator[Iterable[E]]

    Definition Classes
    IterableLike
  112. def span(p: (E) ⇒ Boolean): (Iterable[E], Iterable[E])

    Definition Classes
    TraversableLike → GenTraversableLike
  113. def splitAt(n: Int): (Iterable[E], Iterable[E])

    Definition Classes
    TraversableLike → GenTraversableLike
  114. def stringPrefix: String

    Definition Classes
    TraversableLike → GenTraversableLike
  115. def sum[B >: E](implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  117. def tail: Iterable[E]

    Definition Classes
    TraversableLike → GenTraversableLike
  118. def tails: Iterator[Iterable[E]]

    Definition Classes
    TraversableLike
  119. def take(n: Int): Iterable[E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  120. def takeRight(n: Int): Iterable[E]

    Definition Classes
    IterableLike
  121. def takeWhile(p: (E) ⇒ Boolean): Iterable[E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  122. def thisCollection: Iterable[E]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  123. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, E, Col[E]]): Col[E]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  124. def toArray[B >: E](implicit arg0: ClassTag[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  125. def toBuffer[B >: E]: Buffer[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def toCollection(repr: Iterable[E]): Iterable[E]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  127. def toIndexedSeq: IndexedSeq[E]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  128. def toIterable: Iterable[E]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  129. def toIterator: Iterator[E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  130. def toList: List[E]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  131. def toMap[T, U](implicit ev: <:<[E, (T, U)]): Map[T, U]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  132. def toSeq: IndexedSeq[E]

    Definition Classes
    IndexedSeqSimilarSeqSimilar → TraversableOnce → GenTraversableOnce
  133. def toSet[B >: E]: Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  134. def toStream: Stream[E]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  135. def toString(): String

    Definition Classes
    Var → AnyRef → Any
  136. def toTraversable: Traversable[E]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  137. def toVector: Vector[E]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  138. def transpose[B](implicit asTraversable: (E) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  139. def unzip[A1, A2](implicit asPair: (E) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  140. def unzip3[A1, A2, A3](implicit asTriple: (E) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  141. def value: This.Value

    Definition Classes
    ChainIndexedSeqSimilarSeqSimilar
  142. def view(from: Int, until: Int): IterableView[E, Iterable[E]]

    Definition Classes
    IterableLike → TraversableLike
  143. def view: IterableView[E, Iterable[E]]

    Definition Classes
    IterableLike → TraversableLike
  144. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  147. def withFilter(p: (E) ⇒ Boolean): FilterMonadic[E, Iterable[E]]

    Definition Classes
    TraversableLike → FilterMonadic
  148. def zip[A1 >: E, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[E], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  149. def zipAll[B, A1 >: E, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[E], (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  150. def zipWithIndex[A1 >: E, That](implicit bf: CanBuildFrom[Iterable[E], (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def /:\[A1 >: E](z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use fold instead

Inherited from IndexedSeqVar[E]

Inherited from SeqVar[E]

Inherited from Var

Inherited from Chain[This, E]

Inherited from IndexedSeqSimilar[E]

Inherited from SeqSimilar[E]

Inherited from variable.ElementType[E]

Inherited from Iterable[E]

Inherited from IterableLike[E, Iterable[E]]

Inherited from Equals

Inherited from GenIterable[E]

Inherited from GenIterableLike[E, Iterable[E]]

Inherited from Traversable[E]

Inherited from GenTraversable[E]

Inherited from GenericTraversableTemplate[E, Iterable]

Inherited from TraversableLike[E, Iterable[E]]

Inherited from GenTraversableLike[E, Iterable[E]]

Inherited from Parallelizable[E, ParIterable[E]]

Inherited from TraversableOnce[E]

Inherited from GenTraversableOnce[E]

Inherited from FilterMonadic[E, Iterable[E]]

Inherited from HasNewBuilder[E, Iterable[E]]

Inherited from variable.ThisType[This]

Inherited from AnyRef

Inherited from Any

Ungrouped