cc.factorie.variable

IndexedSeqSimilar

trait IndexedSeqSimilar[+E] extends SeqSimilar[E]

A trait with many of the same methods as IndexedSeq, but not actually a IndexedSeq itself. This is necessary because Seq defines "equals" based on same contents, but all variables must have equals based on identity.

Linear Supertypes
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]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IndexedSeqSimilar
  2. SeqSimilar
  3. ElementType
  4. Iterable
  5. IterableLike
  6. Equals
  7. GenIterable
  8. GenIterableLike
  9. Traversable
  10. GenTraversable
  11. GenericTraversableTemplate
  12. TraversableLike
  13. GenTraversableLike
  14. Parallelizable
  15. TraversableOnce
  16. GenTraversableOnce
  17. FilterMonadic
  18. HasNewBuilder
  19. AnyRef
  20. 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. class WithFilter extends FilterMonadic[A, Repr]

    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def value: IndexedSeq[E]

    Definition Classes
    IndexedSeqSimilarSeqSimilar

Concrete 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 /:[B](z: B)(op: (B, E) ⇒ B): B

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

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  15. def apply(index: Int): E

    Definition Classes
    SeqSimilar
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def canEqual(that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  18. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    IterableLike
  49. def hasDefiniteSize: Boolean

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

    Definition Classes
    AnyRef → Any
  51. def head: E

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

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

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

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

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

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

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

    Definition Classes
    TraversableLike
  59. def isEmpty: Boolean

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

    Definition Classes
    Any
  61. final def isTraversableAgain: Boolean

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  65. def length: Int

    Definition Classes
    SeqSimilar
  66. def map[B](f: (E) ⇒ B): IndexedSeq[B]

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def mkString: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def repr: Iterable[E]

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

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

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

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

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

  96. def seq: Iterable[E]

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

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

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

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

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

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

    Definition Classes
    TraversableLike → GenTraversableLike
  103. def stringPrefix: String

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Definition Classes
    IterableLike → GenIterableLike
  137. 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
  138. 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 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 AnyRef

Inherited from Any

Ungrouped