Packages

c

com.daml.util.akkastreams

ImmutableIterable

final case class ImmutableIterable[T](iterable: Iterable[T]) extends Iterable[T] with Product with Serializable

Added to make akka-streams .mapConcat accept collections parsed from proto.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImmutableIterable
  2. Serializable
  3. Product
  4. Equals
  5. Iterable
  6. Iterable
  7. IterableFactoryDefaults
  8. IterableOps
  9. IterableOnceOps
  10. IterableOnce
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ImmutableIterable(iterable: Iterable[T])

Value Members

  1. final def ++[B >: T](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  2. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  3. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  4. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  5. def collect[B](pf: PartialFunction[T, B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  6. def collectFirst[B](pf: PartialFunction[T, B]): Option[B]
    Definition Classes
    IterableOnceOps
  7. def concat[B >: T](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  8. def copyToArray[B >: T](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  9. def copyToArray[B >: T](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  10. def copyToArray[B >: T](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  11. def corresponds[B](that: IterableOnce[B])(p: (T, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  12. def count(p: (T) => Boolean): Int
    Definition Classes
    IterableOnceOps
  13. def drop(n: Int): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  14. def dropRight(n: Int): Iterable[T]
    Definition Classes
    IterableOps
  15. def dropWhile(p: (T) => Boolean): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  16. def empty: Iterable[T]
    Definition Classes
    IterableFactoryDefaults → IterableOps
  17. def exists(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  18. def filter(pred: (T) => Boolean): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  19. def filterNot(pred: (T) => Boolean): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  20. def find(p: (T) => Boolean): Option[T]
    Definition Classes
    IterableOnceOps
  21. def flatMap[B](f: (T) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  22. def flatten[B](implicit asIterable: (T) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  23. def fold[A1 >: T](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  24. def foldLeft[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  25. def foldRight[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  26. def forall(p: (T) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  27. def foreach[U](f: (T) => U): Unit
    Definition Classes
    IterableOnceOps
  28. def groupBy[K](f: (T) => K): Map[K, Iterable[T]]
    Definition Classes
    IterableOps
  29. def groupMap[K, B](key: (T) => K)(f: (T) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  30. def groupMapReduce[K, B](key: (T) => K)(f: (T) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  31. def grouped(size: Int): Iterator[Iterable[T]]
    Definition Classes
    IterableOps
  32. def head: T
    Definition Classes
    IterableOps
  33. def headOption: Option[T]
    Definition Classes
    IterableOps
  34. def init: Iterable[T]
    Definition Classes
    IterableOps
  35. def inits: Iterator[Iterable[T]]
    Definition Classes
    IterableOps
  36. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  37. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  38. val iterable: Iterable[T]
  39. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → Iterable → IterableOps
  40. def iterator: Iterator[T]
    Definition Classes
    ImmutableIterable → IterableOnce
  41. def knownSize: Int
    Definition Classes
    IterableOnce
  42. def last: T
    Definition Classes
    IterableOps
  43. def lastOption: Option[T]
    Definition Classes
    IterableOps
  44. def lazyZip[B](that: Iterable[B]): LazyZip2[T, B, ImmutableIterable.this.type]
    Definition Classes
    Iterable
  45. def map[B](f: (T) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  46. def max[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  47. def maxBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  48. def maxByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  49. def maxOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  50. def min[B >: T](implicit ord: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  51. def minBy[B](f: (T) => B)(implicit cmp: Ordering[B]): T
    Definition Classes
    IterableOnceOps
  52. def minByOption[B](f: (T) => B)(implicit cmp: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  53. def minOption[B >: T](implicit ord: Ordering[B]): Option[T]
    Definition Classes
    IterableOnceOps
  54. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  55. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  56. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  57. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  58. def partition(p: (T) => Boolean): (Iterable[T], Iterable[T])
    Definition Classes
    IterableOps
  59. def partitionMap[A1, A2](f: (T) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  60. def product[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  61. def productElementNames: Iterator[String]
    Definition Classes
    Product
  62. def reduce[B >: T](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  63. def reduceLeft[B >: T](op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
  64. def reduceLeftOption[B >: T](op: (B, T) => B): Option[B]
    Definition Classes
    IterableOnceOps
  65. def reduceOption[B >: T](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  66. def reduceRight[B >: T](op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
  67. def reduceRightOption[B >: T](op: (T, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  68. def scan[B >: T](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  69. def scanLeft[B](z: B)(op: (B, T) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  70. def scanRight[B](z: B)(op: (T, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  71. def size: Int
    Definition Classes
    IterableOnceOps
  72. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  73. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  74. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  75. def slice(from: Int, until: Int): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  76. def sliding(size: Int, step: Int): Iterator[Iterable[T]]
    Definition Classes
    IterableOps
  77. def sliding(size: Int): Iterator[Iterable[T]]
    Definition Classes
    IterableOps
  78. def span(p: (T) => Boolean): (Iterable[T], Iterable[T])
    Definition Classes
    IterableOps → IterableOnceOps
  79. def splitAt(n: Int): (Iterable[T], Iterable[T])
    Definition Classes
    IterableOps → IterableOnceOps
  80. def stepper[S <: Stepper[_]](implicit shape: StepperShape[T, S]): S
    Definition Classes
    IterableOnce
  81. def sum[B >: T](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  82. def tail: Iterable[T]
    Definition Classes
    IterableOps
  83. def tails: Iterator[Iterable[T]]
    Definition Classes
    IterableOps
  84. def take(n: Int): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  85. def takeRight(n: Int): Iterable[T]
    Definition Classes
    IterableOps
  86. def takeWhile(p: (T) => Boolean): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  87. def tapEach[U](f: (T) => U): Iterable[T]
    Definition Classes
    IterableOps → IterableOnceOps
  88. def to[C1](factory: Factory[T, C1]): C1
    Definition Classes
    IterableOnceOps
  89. def toArray[B >: T](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  90. final def toBuffer[B >: T]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  91. def toIndexedSeq: IndexedSeq[T]
    Definition Classes
    IterableOnceOps
  92. def toList: List[T]
    Definition Classes
    IterableOnceOps
  93. def toMap[K, V](implicit ev: <:<[T, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  94. def toSeq: Seq[T]
    Definition Classes
    IterableOnceOps
  95. def toSet[B >: T]: Set[B]
    Definition Classes
    IterableOnceOps
  96. def toString(): String
    Definition Classes
    Iterable → AnyRef → Any
  97. def toVector: Vector[T]
    Definition Classes
    IterableOnceOps
  98. def transpose[B](implicit asIterable: (T) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  99. def unzip[A1, A2](implicit asPair: (T) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  100. def unzip3[A1, A2, A3](implicit asTriple: (T) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  101. def view: View[T]
    Definition Classes
    IterableOps
  102. def withFilter(p: (T) => Boolean): WithFilter[T, [_]Iterable[_]]
    Definition Classes
    IterableOps
  103. def zip[B](that: IterableOnce[B]): Iterable[(T, B)]
    Definition Classes
    IterableOps
  104. def zipAll[A1 >: T, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  105. def zipWithIndex: Iterable[(T, Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def ++:[B >: T](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. final def /:[B](z: B)(op: (B, T) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. final def :\[B](z: B)(op: (T, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  4. def aggregate[B](z: => B)(seqop: (B, T) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  5. def companion: IterableFactory[[_]Iterable[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: T](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  7. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  8. final def repr: Iterable[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  9. def seq: ImmutableIterable.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  10. final def toIterable: ImmutableIterable.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  11. final def toIterator: Iterator[T]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  12. final def toStream: Stream[T]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  13. final def toTraversable: Traversable[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  14. def view(from: Int, until: Int): View[T]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)