Class/Object

org.scalatest.prop

TableFor4

Related Docs: object TableFor4 | package prop

Permalink

class TableFor4[A, B, C, D] extends IndexedSeq[(A, B, C, D)] with IndexedSeqLike[(A, B, C, D), TableFor4[A, B, C, D]]

A table with 4 columns.

For an introduction to using tables, see the documentation for trait TableDrivenPropertyChecks.

This table is a sequence of Tuple4 objects, where each tuple represents one row of the table. The first element of each tuple comprise the first column of the table, the second element of each tuple comprise the second column, and so on. This table also carries with it a heading tuple that gives string names to the columns of the table.

A handy way to create a TableFor4 is via an apply factory method in the Table singleton object provided by the Tables trait. Here's an example:

val examples =
  Table(
    ("a", "b", "c", "d"),
    (  0,   0,   0,   0),
    (  1,   1,   1,   1),
    (  2,   2,   2,   2),
    (  3,   3,   3,   3),
    (  4,   4,   4,   4),
    (  5,   5,   5,   5),
    (  6,   6,   6,   6),
    (  7,   7,   7,   7),
    (  8,   8,   8,   8),
    (  9,   9,   9,   9)
  )

Because you supplied 4 members in each tuple, the type you'll get back will be a TableFor4.

The table provides an apply method that takes a function with a parameter list that matches the types and arity of the tuples contained in this table. The apply method will invoke the function with the members of each row tuple passed as arguments, in ascending order by index. (I.e., the zeroth tuple is checked first, then the tuple with index 1, then index 2, and so on until all the rows have been checked (or until a failure occurs). The function represents a property of the code under test that should succeed for every row of the table. If the function returns normally, that indicates the property check succeeded for that row. If the function completes abruptly with an exception, that indicates the property check failed and the apply method will complete abruptly with a TableDrivenPropertyCheckFailedException that wraps the exception thrown by the supplied property function.

The usual way you'd invoke the apply method that checks a property is via a forAll method provided by trait TableDrivenPropertyChecks. The forAll method takes a TableFor4 as its first argument, then in a curried argument list takes the property check function. It invokes apply on the TableFor4, passing in the property check function. Here's an example:

forAll (examples) { (a, b, c, d) =>
  a + b + c + d should equal (a * 4)
}

Because TableFor4 is a Seq[(A, B, C, D)], you can use it as a Seq. For example, here's how you could get a sequence of Outcomes for each row of the table, indicating whether a property check succeeded or failed on each row of the table:

for (row <- examples) yield {
  outcomeOf { row._1 should not equal (7) }
}

Note: the outcomeOf method, contained in the OutcomeOf trait, will execute the supplied code (a by-name parameter) and transform it to an Outcome. If no exception is thrown by the code, outcomeOf will result in a Succeeded, indicating the "property check" succeeded. If the supplied code completes abruptly in an exception that would normally cause a test to fail, outcomeOf will result in in a Failed instance containing that exception. For example, the previous for expression would give you:

Vector(Succeeded, Succeeded, Succeeded, Succeeded, Succeeded, Succeeded, Succeeded,
    Failed(org.scalatest.TestFailedException: 7 equaled 7), Succeeded, Succeeded)

This shows that all the property checks succeeded, except for the one at index 7.

Source
TableFor1.scala
Linear Supertypes
IndexedSeq[(A, B, C, D)], IndexedSeqLike[(A, B, C, D), TableFor4[A, B, C, D]], Seq[(A, B, C, D)], SeqLike[(A, B, C, D), TableFor4[A, B, C, D]], GenSeq[(A, B, C, D)], GenSeqLike[(A, B, C, D), TableFor4[A, B, C, D]], Iterable[(A, B, C, D)], IterableLike[(A, B, C, D), TableFor4[A, B, C, D]], Equals, GenIterable[(A, B, C, D)], GenIterableLike[(A, B, C, D), TableFor4[A, B, C, D]], Traversable[(A, B, C, D)], GenTraversable[(A, B, C, D)], GenericTraversableTemplate[(A, B, C, D), IndexedSeq], TraversableLike[(A, B, C, D), TableFor4[A, B, C, D]], GenTraversableLike[(A, B, C, D), TableFor4[A, B, C, D]], Parallelizable[(A, B, C, D), ParSeq[(A, B, C, D)]], TraversableOnce[(A, B, C, D)], GenTraversableOnce[(A, B, C, D)], FilterMonadic[(A, B, C, D), TableFor4[A, B, C, D]], HasNewBuilder[(A, B, C, D), TableFor4[A, B, C, D]], PartialFunction[Int, (A, B, C, D)], (Int) ⇒ (A, B, C, D), AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TableFor4
  2. IndexedSeq
  3. IndexedSeqLike
  4. Seq
  5. SeqLike
  6. GenSeq
  7. GenSeqLike
  8. Iterable
  9. IterableLike
  10. Equals
  11. GenIterable
  12. GenIterableLike
  13. Traversable
  14. GenTraversable
  15. GenericTraversableTemplate
  16. TraversableLike
  17. GenTraversableLike
  18. Parallelizable
  19. TraversableOnce
  20. GenTraversableOnce
  21. FilterMonadic
  22. HasNewBuilder
  23. PartialFunction
  24. Function1
  25. AnyRef
  26. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TableFor4(heading: (String, String, String, String), rows: (A, B, C, D)*)

    Permalink

    heading

    a tuple containing string names of the columns in this table

    rows

    a variable length parameter list of Tuple4s containing the data of this table

Type Members

  1. class Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable

    Permalink
    Attributes
    protected
    Definition Classes
    IndexedSeqLike
    Annotations
    @SerialVersionUID()
  2. type Self = TableFor4[A, B, C, D]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  3. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: (A, B, C, D), That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: (A, B, C, D), That](that: Traversable[B])(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  5. def ++:[B >: (A, B, C, D), That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  6. def +:[B >: (A, B, C, D), That](elem: B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  7. def /:[B](z: B)(op: (B, (A, B, C, D)) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. def :+[B >: (A, B, C, D), That](elem: B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  9. def :\[B](z: B)(op: ((A, B, C, D), B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  10. final def ==(arg0: Any): Boolean

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

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

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

    Permalink
    Definition Classes
    TraversableOnce
  14. def aggregate[B](z: ⇒ B)(seqop: (B, (A, B, C, D)) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  15. def andThen[C](k: ((A, B, C, D)) ⇒ C): PartialFunction[Int, C]

    Permalink
    Definition Classes
    PartialFunction → Function1
  16. def apply(fun: (A, B, C, D) ⇒ Assertion): Assertion

    Permalink

    Applies the passed property check function to each row of this TableFor4.

    Applies the passed property check function to each row of this TableFor4.

    If the property checks for all rows succeed (the property check function returns normally when passed the data for each row), this apply method returns normally. If the property check function completes abruptly with an exception for any row, this apply method wraps that exception in a TableDrivenPropertyCheckFailedException and completes abruptly with that exception. Once the property check function throws an exception for a row, this apply method will complete abruptly immediately and subsequent rows will not be checked against the function.

    fun

    the property check function to apply to each row of this TableFor4

  17. def apply(idx: Int): (A, B, C, D)

    Permalink

    Selects a row of data by its index.

    Selects a row of data by its index.

    Definition Classes
    TableFor4 → SeqLike → GenSeqLike → Function1
  18. def applyOrElse[A1 <: Int, B1 >: (A, B, C, D)](x: A1, default: (A1) ⇒ B1): B1

    Permalink
    Definition Classes
    PartialFunction
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. def canEqual(that: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. def collect[B, That](pf: PartialFunction[(A, B, C, D), B])(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  23. def collectFirst[B](pf: PartialFunction[(A, B, C, D), B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  24. def combinations(n: Int): Iterator[TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    SeqLike
  25. def companion: GenericCompanion[IndexedSeq]

    Permalink
    Definition Classes
    IndexedSeq → Seq → GenSeq → Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  26. def compose[A](g: (A) ⇒ Int): (A) ⇒ (A, B, C, D)

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  27. def contains[A1 >: (A, B, C, D)](elem: A1): Boolean

    Permalink
    Definition Classes
    SeqLike
  28. def containsSlice[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike
  29. def copyToArray[B >: (A, B, C, D)](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  30. def copyToArray[B >: (A, B, C, D)](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  31. def copyToArray[B >: (A, B, C, D)](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  32. def copyToBuffer[B >: (A, B, C, D)](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  33. def corresponds[B](that: GenSeq[B])(p: ((A, B, C, D), B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  34. def count(p: ((A, B, C, D)) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def diff[B >: (A, B, C, D)](that: GenSeq[B]): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  36. def distinct: TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  37. def drop(n: Int): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  38. def dropRight(n: Int): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    IterableLike
  39. def dropWhile(p: ((A, B, C, D)) ⇒ Boolean): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  40. def endsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  41. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    GenSeqLike → Equals → Any
  43. def exists(p: ((A, B, C, D)) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  44. def filter(p: ((A, B, C, D)) ⇒ Boolean): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  45. def filterNot(p: ((A, B, C, D)) ⇒ Boolean): TableFor4[A, B, C, D]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. def find(p: ((A, B, C, D)) ⇒ Boolean): Option[(A, B, C, D)]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  48. def flatMap[B, That](f: ((A, B, C, D)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  49. def flatten[B](implicit asTraversable: ((A, B, C, D)) ⇒ GenTraversableOnce[B]): IndexedSeq[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  50. def fold[A1 >: (A, B, C, D)](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  51. def foldLeft[B](z: B)(op: (B, (A, B, C, D)) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  52. def foldRight[B](z: B)(op: ((A, B, C, D), B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  53. def forall(p: ((A, B, C, D)) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  54. def foreach[U](f: ((A, B, C, D)) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  55. def genericBuilder[B]: Builder[B, IndexedSeq[B]]

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

    Permalink
    Definition Classes
    AnyRef → Any
  57. def groupBy[K](f: ((A, B, C, D)) ⇒ K): Map[K, TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  58. def grouped(size: Int): Iterator[TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    IterableLike
  59. def hasDefiniteSize: Boolean

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

    Permalink
    Definition Classes
    IndexedSeqLike → GenSeqLike → Any
  61. def head: (A, B, C, D)

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  62. def headOption: Option[(A, B, C, D)]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  63. val heading: (String, String, String, String)

    Permalink

    a tuple containing string names of the columns in this table

  64. def indexOf[B >: (A, B, C, D)](elem: B, from: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  65. def indexOf[B >: (A, B, C, D)](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  66. def indexOfSlice[B >: (A, B, C, D)](that: GenSeq[B], from: Int): Int

    Permalink
    Definition Classes
    SeqLike
  67. def indexOfSlice[B >: (A, B, C, D)](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  68. def indexWhere(p: ((A, B, C, D)) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  69. def indexWhere(p: ((A, B, C, D)) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  70. def indices: Range

    Permalink
    Definition Classes
    SeqLike
  71. def init: TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  72. def inits: Iterator[TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    TraversableLike
  73. def intersect[B >: (A, B, C, D)](that: GenSeq[B]): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  74. def isDefinedAt(idx: Int): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  75. def isEmpty: Boolean

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

    Permalink
    Definition Classes
    Any
  77. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  78. def iterator: Iterator[(A, B, C, D)]

    Permalink
    Definition Classes
    IndexedSeqLike → IterableLike → GenIterableLike
  79. def last: (A, B, C, D)

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  80. def lastIndexOf[B >: (A, B, C, D)](elem: B, end: Int): Int

    Permalink
    Definition Classes
    GenSeqLike
  81. def lastIndexOf[B >: (A, B, C, D)](elem: B): Int

    Permalink
    Definition Classes
    GenSeqLike
  82. def lastIndexOfSlice[B >: (A, B, C, D)](that: GenSeq[B], end: Int): Int

    Permalink
    Definition Classes
    SeqLike
  83. def lastIndexOfSlice[B >: (A, B, C, D)](that: GenSeq[B]): Int

    Permalink
    Definition Classes
    SeqLike
  84. def lastIndexWhere(p: ((A, B, C, D)) ⇒ Boolean, end: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  85. def lastIndexWhere(p: ((A, B, C, D)) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  86. def lastOption: Option[(A, B, C, D)]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  87. def length: Int

    Permalink

    The number of rows of data in the table.

    The number of rows of data in the table. (This does not include the heading tuple)

    Definition Classes
    TableFor4 → SeqLike → GenSeqLike
  88. def lengthCompare(len: Int): Int

    Permalink
    Definition Classes
    SeqLike
  89. def lift: (Int) ⇒ Option[(A, B, C, D)]

    Permalink
    Definition Classes
    PartialFunction
  90. def map[B, That](f: ((A, B, C, D)) ⇒ B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  91. def max[B >: (A, B, C, D)](implicit cmp: Ordering[B]): (A, B, C, D)

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def maxBy[B](f: ((A, B, C, D)) ⇒ B)(implicit cmp: Ordering[B]): (A, B, C, D)

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def min[B >: (A, B, C, D)](implicit cmp: Ordering[B]): (A, B, C, D)

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def minBy[B](f: ((A, B, C, D)) ⇒ B)(implicit cmp: Ordering[B]): (A, B, C, D)

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def mkString: String

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

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

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

    Permalink
    Definition Classes
    AnyRef
  99. def newBuilder: Builder[(A, B, C, D), TableFor4[A, B, C, D]]

    Permalink

    Creates a new Builder for TableFor4s.

    Creates a new Builder for TableFor4s.

    Attributes
    protected[this]
    Definition Classes
    TableFor4 → GenericTraversableTemplate → TraversableLike → HasNewBuilder
  100. def nonEmpty: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  103. def orElse[A1 <: Int, B1 >: (A, B, C, D)](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Permalink
    Definition Classes
    PartialFunction
  104. def padTo[B >: (A, B, C, D), That](len: Int, elem: B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  105. def par: ParSeq[(A, B, C, D)]

    Permalink
    Definition Classes
    Parallelizable
  106. def parCombiner: Combiner[(A, B, C, D), ParSeq[(A, B, C, D)]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    SeqLike → TraversableLike → Parallelizable
  107. def partition(p: ((A, B, C, D)) ⇒ Boolean): (TableFor4[A, B, C, D], TableFor4[A, B, C, D])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  108. def patch[B >: (A, B, C, D), That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  109. def permutations: Iterator[TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    SeqLike
  110. def prefixLength(p: ((A, B, C, D)) ⇒ Boolean): Int

    Permalink
    Definition Classes
    GenSeqLike
  111. def product[B >: (A, B, C, D)](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def reduce[A1 >: (A, B, C, D)](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def reduceLeft[B >: (A, B, C, D)](op: (B, (A, B, C, D)) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  114. def reduceLeftOption[B >: (A, B, C, D)](op: (B, (A, B, C, D)) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  115. def reduceOption[A1 >: (A, B, C, D)](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  116. def reduceRight[B >: (A, B, C, D)](op: ((A, B, C, D), B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  117. def reduceRightOption[B >: (A, B, C, D)](op: ((A, B, C, D), B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  118. def repr: TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  119. def reverse: TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  120. def reverseIterator: Iterator[(A, B, C, D)]

    Permalink
    Definition Classes
    SeqLike
  121. def reverseMap[B, That](f: ((A, B, C, D)) ⇒ B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  122. def reversed: List[(A, B, C, D)]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  123. def runWith[U](action: ((A, B, C, D)) ⇒ U): (Int) ⇒ Boolean

    Permalink
    Definition Classes
    PartialFunction
  124. def sameElements[B >: (A, B, C, D)](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  125. def scan[B >: (A, B, C, D), That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  126. def scanLeft[B, That](z: B)(op: (B, (A, B, C, D)) ⇒ B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  127. def scanRight[B, That](z: B)(op: ((A, B, C, D), B) ⇒ B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    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.

  128. def segmentLength(p: ((A, B, C, D)) ⇒ Boolean, from: Int): Int

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  129. def seq: IndexedSeq[(A, B, C, D)]

    Permalink
    Definition Classes
    IndexedSeq → IndexedSeqLike → Seq → GenSeq → GenSeqLike → Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  130. def size: Int

    Permalink
    Definition Classes
    SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
  131. def slice(from: Int, until: Int): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  132. def sliding(size: Int, step: Int): Iterator[TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    IterableLike
  133. def sliding(size: Int): Iterator[TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    IterableLike
  134. def sortBy[B](f: ((A, B, C, D)) ⇒ B)(implicit ord: Ordering[B]): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    SeqLike
  135. def sortWith(lt: ((A, B, C, D), (A, B, C, D)) ⇒ Boolean): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    SeqLike
  136. def sorted[B >: (A, B, C, D)](implicit ord: Ordering[B]): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    SeqLike
  137. def span(p: ((A, B, C, D)) ⇒ Boolean): (TableFor4[A, B, C, D], TableFor4[A, B, C, D])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  138. def splitAt(n: Int): (TableFor4[A, B, C, D], TableFor4[A, B, C, D])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  139. def startsWith[B](that: GenSeq[B], offset: Int): Boolean

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  140. def startsWith[B](that: GenSeq[B]): Boolean

    Permalink
    Definition Classes
    GenSeqLike
  141. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  142. def sum[B >: (A, B, C, D)](implicit num: Numeric[B]): B

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

    Permalink
    Definition Classes
    AnyRef
  144. def tail: TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  145. def tails: Iterator[TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    TraversableLike
  146. def take(n: Int): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  147. def takeRight(n: Int): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    IterableLike
  148. def takeWhile(p: ((A, B, C, D)) ⇒ Boolean): TableFor4[A, B, C, D]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  149. def thisCollection: IndexedSeq[(A, B, C, D)]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  150. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, (A, B, C, D), Col[(A, B, C, D)]]): Col[(A, B, C, D)]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  151. def toArray[B >: (A, B, C, D)](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  152. def toBuffer[A1 >: (A, B, C, D)]: Buffer[A1]

    Permalink
    Definition Classes
    IndexedSeqLike → TraversableOnce → GenTraversableOnce
  153. def toCollection(repr: TableFor4[A, B, C, D]): IndexedSeq[(A, B, C, D)]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IndexedSeqLike → SeqLike → IterableLike → TraversableLike
  154. def toIndexedSeq: IndexedSeq[(A, B, C, D)]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  155. def toIterable: Iterable[(A, B, C, D)]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  156. def toIterator: Iterator[(A, B, C, D)]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  157. def toList: List[(A, B, C, D)]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  158. def toMap[T, U](implicit ev: <:<[(A, B, C, D), (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  159. def toSeq: Seq[(A, B, C, D)]

    Permalink
    Definition Classes
    SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
  160. def toSet[B >: (A, B, C, D)]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  161. def toStream: Stream[(A, B, C, D)]

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

    Permalink

    A string representation of this object, which includes the heading strings as well as the rows of data.

    A string representation of this object, which includes the heading strings as well as the rows of data.

    Definition Classes
    TableFor4 → SeqLike → TraversableLike → Function1 → AnyRef → Any
  163. def toTraversable: Traversable[(A, B, C, D)]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  164. def toVector: Vector[(A, B, C, D)]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  165. def transpose[B](implicit asTraversable: ((A, B, C, D)) ⇒ GenTraversableOnce[B]): IndexedSeq[IndexedSeq[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

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

  166. def union[B >: (A, B, C, D), That](that: GenSeq[B])(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  167. def unzip[A1, A2](implicit asPair: ((A, B, C, D)) ⇒ (A1, A2)): (IndexedSeq[A1], IndexedSeq[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  168. def unzip3[A1, A2, A3](implicit asTriple: ((A, B, C, D)) ⇒ (A1, A2, A3)): (IndexedSeq[A1], IndexedSeq[A2], IndexedSeq[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  169. def updated[B >: (A, B, C, D), That](index: Int, elem: B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], B, That]): That

    Permalink
    Definition Classes
    SeqLike → GenSeqLike
  170. def view(from: Int, until: Int): SeqView[(A, B, C, D), TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  171. def view: SeqView[(A, B, C, D), TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    SeqLike → IterableLike → TraversableLike
  172. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  175. def withFilter(p: ((A, B, C, D)) ⇒ Boolean): FilterMonadic[(A, B, C, D), TableFor4[A, B, C, D]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  176. def zip[A1 >: (A, B, C, D), B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  177. def zipAll[B, A1 >: (A, B, C, D), That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[TableFor4[A, B, C, D], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  178. def zipWithIndex[A1 >: (A, B, C, D), That](implicit bf: CanBuildFrom[TableFor4[A, B, C, D], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Inherited from IndexedSeq[(A, B, C, D)]

Inherited from IndexedSeqLike[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from Seq[(A, B, C, D)]

Inherited from SeqLike[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from GenSeq[(A, B, C, D)]

Inherited from GenSeqLike[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from Iterable[(A, B, C, D)]

Inherited from IterableLike[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from Equals

Inherited from GenIterable[(A, B, C, D)]

Inherited from GenIterableLike[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from Traversable[(A, B, C, D)]

Inherited from GenTraversable[(A, B, C, D)]

Inherited from GenericTraversableTemplate[(A, B, C, D), IndexedSeq]

Inherited from TraversableLike[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from GenTraversableLike[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from Parallelizable[(A, B, C, D), ParSeq[(A, B, C, D)]]

Inherited from TraversableOnce[(A, B, C, D)]

Inherited from GenTraversableOnce[(A, B, C, D)]

Inherited from FilterMonadic[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from HasNewBuilder[(A, B, C, D), TableFor4[A, B, C, D]]

Inherited from PartialFunction[Int, (A, B, C, D)]

Inherited from (Int) ⇒ (A, B, C, D)

Inherited from AnyRef

Inherited from Any

Ungrouped