cc.factorie.variable

Chain

trait Chain[This <: Chain[This, E], E <: ChainLink[E, This]] extends ThisType[This] with IndexedSeqSimilar[E]

A chain of elements, each of which has methods "next", "prev", etc.

Self Type
This
Linear Supertypes
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. Chain
  2. IndexedSeqSimilar
  3. SeqSimilar
  4. ElementType
  5. Iterable
  6. IterableLike
  7. Equals
  8. GenIterable
  9. GenIterableLike
  10. Traversable
  11. GenTraversable
  12. GenericTraversableTemplate
  13. TraversableLike
  14. GenTraversableLike
  15. Parallelizable
  16. TraversableOnce
  17. GenTraversableOnce
  18. FilterMonadic
  19. HasNewBuilder
  20. ThisType
  21. AnyRef
  22. 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]

  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. final def ##(): Int

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

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

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

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

  8. def +=(e: E): Chain.this.type

  9. def /:[B](z: B)(op: (B, E) ⇒ B): B

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

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

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

    Definition Classes
    Any
  13. def addString(b: StringBuilder): StringBuilder

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

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

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

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

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

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

  20. def canEqual(that: Any): Boolean

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

  22. def chainFrozen: Boolean

  23. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    IterableLike
  54. def hasDefiniteSize: Boolean

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

    Definition Classes
    AnyRef → Any
  56. def head: E

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

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

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

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

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

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

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

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

    Use with caution, since this would invalidate indices stored elsewhere

  65. def isEmpty: Boolean

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

    Definition Classes
    Any
  67. final def isTraversableAgain: Boolean

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  71. def length: Int

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

    Annotations
    @inline()
  73. def map[B](f: (E) ⇒ B): IndexedSeq[B]

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  79. def mkString: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def remove(i: Int): Chain.this.type

    Use with caution, since this would invalidate indices stored elsewhere

  98. def repr: Iterable[E]

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

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  103. 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.

  104. def seq: Iterable[E]

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

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

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

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  111. def stringPrefix: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableLike → Any
  133. def toTraversable: Traversable[E]

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  135. 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.

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

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

    Definition Classes
    GenericTraversableTemplate
  138. def value: This.Value

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

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

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

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

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

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

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

    Definition Classes
    IterableLike → GenIterableLike
  146. 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
  147. 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 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