com.github.marklister.collections

immutable

package immutable

Immutable product-collection datastructures

At the moment the only structure available is a CollSeq

Creating

Generally you use the companion object to construct the appropriate CollSeq:

scala> CollSeq(("Jan",100,200),("Feb",120,230),("Mar",300,330))
res0: com.github.marklister.collections.immutable.CollSeq3[String,Int,Int] =
CollSeq((Jan,100,200),
        (Feb,120,230),
        (Mar,300,330))
Extract a column
scala> res0._2
res1: Seq[Int] = List(100, 120, 300)
Assemble columns into a CollSeq
scala> res0._3.flatZip(res0._1).flatZip(res0._2)
res3: com.github.marklister.collections.immutable.CollSeq3[Int,String,Int] =
CollSeq((200,Jan,100),
        (230,Feb,120),
        (330,Mar,300))
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. immutable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class CollSeq extends IndexedSeq[Product] with Product

    A CollSeq holds 2D typed data.

    A CollSeq holds 2D typed data. A CollSeq is both an IndexedSeq[Product] and a Product (tuple)

  2. class CollSeq1[T1] extends CollSeq with IndexedSeq[Product1[T1]] with IndexedSeqLike[Product1[T1], CollSeq1[T1]] with Product1[Seq[T1]]

  3. class CollSeq10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] extends CollSeq with IndexedSeq[Product10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]] with IndexedSeqLike[Product10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10], CollSeq10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]] with Product10[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10]]

  4. class CollSeq11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11] extends CollSeq with IndexedSeq[Product11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]] with IndexedSeqLike[Product11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11], CollSeq11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11]] with Product11[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11]]

  5. class CollSeq12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12] extends CollSeq with IndexedSeq[Product12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]] with IndexedSeqLike[Product12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12], CollSeq12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12]] with Product12[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12]]

  6. class CollSeq13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13] extends CollSeq with IndexedSeq[Product13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]] with IndexedSeqLike[Product13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13], CollSeq13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13]] with Product13[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13]]

  7. class CollSeq14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14] extends CollSeq with IndexedSeq[Product14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]] with IndexedSeqLike[Product14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14], CollSeq14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14]] with Product14[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14]]

  8. class CollSeq15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15] extends CollSeq with IndexedSeq[Product15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]] with IndexedSeqLike[Product15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15], CollSeq15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15]] with Product15[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15]]

  9. class CollSeq16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16] extends CollSeq with IndexedSeq[Product16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16]] with IndexedSeqLike[Product16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16], CollSeq16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16]] with Product16[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15], Seq[T16]]

  10. class CollSeq17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17] extends CollSeq with IndexedSeq[Product17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]] with IndexedSeqLike[Product17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17], CollSeq17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17]] with Product17[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15], Seq[T16], Seq[T17]]

  11. class CollSeq18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18] extends CollSeq with IndexedSeq[Product18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]] with IndexedSeqLike[Product18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18], CollSeq18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18]] with Product18[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15], Seq[T16], Seq[T17], Seq[T18]]

  12. class CollSeq19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19] extends CollSeq with IndexedSeq[Product19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]] with IndexedSeqLike[Product19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19], CollSeq19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19]] with Product19[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15], Seq[T16], Seq[T17], Seq[T18], Seq[T19]]

  13. class CollSeq2[T1, T2] extends CollSeq with IndexedSeq[Product2[T1, T2]] with IndexedSeqLike[Product2[T1, T2], CollSeq2[T1, T2]] with Product2[Seq[T1], Seq[T2]]

  14. class CollSeq20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20] extends CollSeq with IndexedSeq[Product20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]] with IndexedSeqLike[Product20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20], CollSeq20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20]] with Product20[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15], Seq[T16], Seq[T17], Seq[T18], Seq[T19], Seq[T20]]

  15. class CollSeq21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21] extends CollSeq with IndexedSeq[Product21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]] with IndexedSeqLike[Product21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21], CollSeq21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21]] with Product21[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15], Seq[T16], Seq[T17], Seq[T18], Seq[T19], Seq[T20], Seq[T21]]

  16. class CollSeq22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22] extends CollSeq with IndexedSeq[Product22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]] with IndexedSeqLike[Product22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22], CollSeq22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22]] with Product22[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9], Seq[T10], Seq[T11], Seq[T12], Seq[T13], Seq[T14], Seq[T15], Seq[T16], Seq[T17], Seq[T18], Seq[T19], Seq[T20], Seq[T21], Seq[T22]]

  17. class CollSeq3[T1, T2, T3] extends CollSeq with IndexedSeq[Product3[T1, T2, T3]] with IndexedSeqLike[Product3[T1, T2, T3], CollSeq3[T1, T2, T3]] with Product3[Seq[T1], Seq[T2], Seq[T3]]

  18. class CollSeq4[T1, T2, T3, T4] extends CollSeq with IndexedSeq[Product4[T1, T2, T3, T4]] with IndexedSeqLike[Product4[T1, T2, T3, T4], CollSeq4[T1, T2, T3, T4]] with Product4[Seq[T1], Seq[T2], Seq[T3], Seq[T4]]

  19. class CollSeq5[T1, T2, T3, T4, T5] extends CollSeq with IndexedSeq[Product5[T1, T2, T3, T4, T5]] with IndexedSeqLike[Product5[T1, T2, T3, T4, T5], CollSeq5[T1, T2, T3, T4, T5]] with Product5[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5]]

  20. class CollSeq6[T1, T2, T3, T4, T5, T6] extends CollSeq with IndexedSeq[Product6[T1, T2, T3, T4, T5, T6]] with IndexedSeqLike[Product6[T1, T2, T3, T4, T5, T6], CollSeq6[T1, T2, T3, T4, T5, T6]] with Product6[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6]]

  21. class CollSeq7[T1, T2, T3, T4, T5, T6, T7] extends CollSeq with IndexedSeq[Product7[T1, T2, T3, T4, T5, T6, T7]] with IndexedSeqLike[Product7[T1, T2, T3, T4, T5, T6, T7], CollSeq7[T1, T2, T3, T4, T5, T6, T7]] with Product7[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7]]

  22. class CollSeq8[T1, T2, T3, T4, T5, T6, T7, T8] extends CollSeq with IndexedSeq[Product8[T1, T2, T3, T4, T5, T6, T7, T8]] with IndexedSeqLike[Product8[T1, T2, T3, T4, T5, T6, T7, T8], CollSeq8[T1, T2, T3, T4, T5, T6, T7, T8]] with Product8[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8]]

  23. class CollSeq9[T1, T2, T3, T4, T5, T6, T7, T8, T9] extends CollSeq with IndexedSeq[Product9[T1, T2, T3, T4, T5, T6, T7, T8, T9]] with IndexedSeqLike[Product9[T1, T2, T3, T4, T5, T6, T7, T8, T9], CollSeq9[T1, T2, T3, T4, T5, T6, T7, T8, T9]] with Product9[Seq[T1], Seq[T2], Seq[T3], Seq[T4], Seq[T5], Seq[T6], Seq[T7], Seq[T8], Seq[T9]]

Value Members

  1. object CollSeq

  2. object CollSeq1

  3. object CollSeq10

  4. object CollSeq11

  5. object CollSeq12

  6. object CollSeq13

  7. object CollSeq14

  8. object CollSeq15

  9. object CollSeq16

  10. object CollSeq17

  11. object CollSeq18

  12. object CollSeq19

  13. object CollSeq2

  14. object CollSeq20

  15. object CollSeq21

  16. object CollSeq22

  17. object CollSeq3

  18. object CollSeq4

  19. object CollSeq5

  20. object CollSeq6

  21. object CollSeq7

  22. object CollSeq8

  23. object CollSeq9

Inherited from AnyRef

Inherited from Any

Ungrouped