Packages

final class IArray[A] extends AnyVal

Source
IArray.scala
Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IArray
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def ++(that: IArray[A]): IArray[A]

    Example:
    1. scala> IArray("a", "b", "c") ++ IArray("x", "y")
      res0: IArray[String] = IArray(a, b, c, x, y)
  4. def +:(a: A): IArray[A]

    Example:
    1. scala> 100 +: IArray(1, 2, 3)
      res0: IArray[Int] = IArray(100, 1, 2, 3)
  5. def :+(a: A): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3) :+ 100
      res0: IArray[Int] = IArray(1, 2, 3, 100)
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  7. def ===(that: IArray[A])(implicit A: Equal[A]): Boolean

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(1, 2) === IArray(1, 2)
      res0: Boolean = true
  8. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Example:
    1. scala> IArray("x", "y", "z").addString(new StringBuilder("aaa"), "c", "d", "e").toString
      res0: String = aaacxdydze
  9. def align[B](b: IArray[B]): IArray[\&/[A, B]]

    Example:
    1. scala> import scalaz.\&/
      scala> IArray(1, 2, 3) align IArray("a", "b", "c", "d", "e")
      res0: IArray[Int \&/ String] = IArray(Both(1,a), Both(2,b), Both(3,c), That(d), That(e))
  10. def alignWith[B, C](that: IArray[B])(f: (\&/[A, B]) => C): IArray[C]

    Example:
    1. scala>
      res0: =
  11. def apply(i: Int): A

    Annotations
    @inline()
    Example:
    1. scala> val x = IArray(10, 20, 30, 40)
      scala> x(2)
      res0: Int = 30
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def cobind[B](f: (IArray[A]) => B): IArray[B]

    Example:
    1. scala>
      res0: =
  14. def cojoin: IArray[IArray[A]]

    Example:
    1. scala>
      res0: =
  15. def collect[B](f: PartialFunction[A, B]): IArray[B]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).collect{ case i if i > 3 => i * 10 }
      res0: IArray[Int] = IArray(40, 50, 60, 70)
  16. def collectBy[B](implicit B: ClassTag[B]): IArray[B]

    Example:
    1. scala> IArray[Seq[Int]](Vector(1), List(2), Vector(3), List(4)).collectBy[Vector[Int]]
      res0: IArray[Vector[Int]] = IArray(Vector(1), Vector(3))
  17. def collectFirst[B](f: PartialFunction[A, B]): Option[B]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).collectFirst{ case i if i > 3 => i * 10 }
      res0: Option[Int] = Some(40)
  18. def collectLast[B](f: PartialFunction[A, B]): Option[B]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).collectLast{ case i if i < 3 => i * 10 }
      res0: Option[Int] = Some(20)
  19. def contains(a: A)(implicit A: Equal[A]): Boolean

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> val a = IArray(1, 2, 3, 4)
      scala> a.contains(3)
      res0: Boolean = true
      scala> a.contains(5)
      res1: Boolean = false
  20. def count(f: (A) => Boolean): Int

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).count(_ % 2 == 1)
      res0: Int = 4
  21. def dropL(n: Int): IArray[A]

    Example:
    1. scala> val a = IArray("a", "b", "c", "d", "e")
      scala> a.dropL(-1)
      res0: IArray[String] = IArray(a, b, c, d, e)
      scala> a.dropL(2)
      res1: IArray[String] = IArray(c, d, e)
      scala> a.dropL(6)
      res2: IArray[String] = IArray()
  22. def dropR(n: Int): IArray[A]

    Example:
    1. scala> val a = IArray("a", "b", "c", "d", "e")
      scala> a.dropR(-1)
      res0: IArray[String] = IArray(a, b, c, d, e)
      scala> a.dropR(2)
      res1: IArray[String] = IArray(a, b, c)
      scala> a.dropR(6)
      res2: IArray[String] = IArray()
  23. def dropWhileL(f: (A) => Boolean): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).dropWhileL(_ < 4)
      res0: IArray[Int] = IArray(4, 5, 6, 7)
  24. def dropWhileR(f: (A) => Boolean): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).dropWhileR(_ > 5)
      res0: IArray[Int] = IArray(1, 2, 3, 4, 5)
  25. def endsWith(that: IArray[A])(implicit A: Equal[A]): Boolean

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(1, 2, 3, 4, 5) endsWith IArray(3, 4, 5)
      res0: Boolean = true
  26. def exists(f: (A) => Boolean): Boolean

    Example:
    1. scala> val a = IArray(1, 2, 3, 4)
      scala> a.exists(_ % 3 == 0)
      res0: Boolean = true
      
      scala> a.exists(_ <= 0)
      res1: Boolean = false
  27. def filter(f: (A) => Boolean): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5).filter(_ % 3 != 1)
      res0: IArray[Int] = IArray(2, 3, 5)
  28. def find(f: (A) => Boolean): Option[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5).find(_ > 3)
      res0: Option[Int] = Some(4)
  29. def findRight(f: (A) => Boolean): Option[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5).findRight(_ < 4)
      res0: Option[Int] = Some(3)
  30. def firsts[B, C](implicit e: <:<[A, Product2[B, C]]): IArray[B]

    Example:
    1. scala> IArray(("a", 1), ("b", 2)).firsts
      res0: IArray[String] = IArray(a, b)
  31. def flatMap[B](f: (A) => IArray[B]): IArray[B]

    Example:
    1. scala> IArray("ab", "cde").flatMap(IArray.from(_))
      res0: IArray[Char] = IArray(a, b, c, d, e)
  32. def flatten[B](implicit A: <:<[A, IArray[B]]): IArray[B]

    Example:
    1. scala> IArray(IArray(1, 2), IArray(3)).flatten
      res0: IArray[Int] = IArray(1, 2, 3)
  33. def fold(implicit A: Monoid[A]): A

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(1, 2, 3, 4, 5).fold
      res0: Int = 15
      scala> import scalaz.std.string._
      scala> IArray("a", "bc", "d").fold
      res1: String = abcd
  34. def fold1Opt(implicit A: Semigroup[A]): Option[A]

    Example:
    1. scala> import scalaz.{\/, \/-, -\/}
      scala> import scalaz.std.string._, scalaz.std.anyVal._
      scala> IArray[Int \/ String](\/-("a"), -\/(1), -\/(2), \/-("b")).fold1Opt
      res0: Option[Int \/ String] = Some(-\/(3))
      scala> IArray.empty[Int \/ String].fold1Opt
      res1: Option[Int \/ String] = None
  35. def foldMap[B](f: (A) => B)(implicit B: Monoid[B]): B

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(123, 23, 9, 54).foldMap(_.toString.size)
      res0: Int = 8
  36. def foldMap1Opt[B](f: (A) => B)(implicit B: Semigroup[B]): Option[B]

    Example:
    1. scala>
      res0: =
  37. def foldMapL1[B](z: (A) => B)(f: (B, A) => B): Option[B]

    Example:
    1. scala>
      res0: =
  38. def foldMapR1Opt[B](z: (A) => B)(f: (A, B) => B): Option[B]

    Example:
    1. scala>
      res0: =
  39. def foldl[B](z: B)(f: (B, A) => B): B

    Example:
    1. scala>
      res0: =
  40. def foldl1(f: (A, A) => A): Option[A]

    Example:
    1. scala>
      res0: =
  41. def foldr[B](z: B)(f: (A, B) => B): B

    Example:
    1. scala>
      res0: =
  42. def foldr1(f: (A, A) => A): Option[A]

    Example:
    1. scala>
      res0: =
  43. def forall(f: (A) => Boolean): Boolean

    Example:
    1. scala> val a = IArray(1, 2, 3, 4)
      scala> a.forall(_ <= 4)
      res0: Boolean = true
      
      scala> a.forall(_ % 4 < 3)
      res1: Boolean = false
  44. def foreach[U](f: (A) => U): Unit

    Example:
    1. scala>
      res0: =
  45. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  46. def groupBy1[B](f: (A) => B)(implicit O: Order[B]): ==>>[B, IArray1[A]]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(1, 2, 3, 4, 5).groupBy1(_ % 3).toList.sortBy(_._1)
      res0: List[(Int, IArray1[Int])] = List((0,IArray1(3)), (1,IArray1(1, 4)), (2,IArray1(2, 5)))
  47. def headMaybe: Maybe[A]

    Example:
    1. scala> IArray(10, 20, 30).headMaybe
      res0: scalaz.Maybe[Int] = Just(10)
  48. def headOption: Option[A]

    Example:
    1. scala> IArray(10, 20, 30).headOption
      res0: Option[Int] = Some(10)
  49. def indexOfL(a: A)(implicit E: Equal[A]): Option[Int]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(-1, 0, 1, 2, -1, 0, 1, 2).indexOfL(2)
      res0: Option[Int] = Some(3)
      scala> IArray(1, 2, 3, 1, 2, 3).indexOfL(5)
      res1: Option[Int] = None
  50. def indexOfR(a: A)(implicit E: Equal[A]): Option[Int]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(1, 2, 3, 1, 2, 3).indexOfR(1)
      res0: Option[Int] = Some(3)
      scala> IArray(1, 2, 3, 1, 2, 3).indexOfR(5)
      res1: Option[Int] = None
  51. def initMaybe: Maybe[IArray[A]]

    Example:
    1. scala> IArray(10, 20, 30).initMaybe
      res0: scalaz.Maybe[IArray[Int]] = Just(IArray(10, 20))
  52. def initOption: Option[IArray[A]]

    Example:
    1. scala> IArray(10, 20, 30).initOption
      res0: Option[IArray[Int]] = Some(IArray(10, 20))
  53. def intercalate(a: A)(implicit A: Monoid[A]): A

    Example:
    1. scala> import scalaz.std.list._
      scala> IArray(List("a"), List("b", "c"), Nil, List("d")).intercalate(List("z"))
      res0: List[String] = List(a, z, b, c, z, z, d)
  54. def intercalate1Opt(a: A)(implicit A: Semigroup[A]): Option[A]

    Example:
    1. scala> import scalaz.std.list._
      scala> IArray(List("a"), List("b", "c"), Nil, List("d")).intercalate1Opt(List("z"))
      res0: Option[List[String]] = Some(List(a, z, b, c, z, z, d))
      scala> IArray.empty[List[Int]].intercalate1Opt(List(7))
      res1: Option[List[Int]] = None
  55. def interleave(that: IArray[A]): IArray[A]
  56. def intersperse(a: A): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3, 4).intersperse(0)
      res0: IArray[Int] = IArray(1, 0, 2, 0, 3, 0, 4)
  57. def isEmpty: Boolean

    Annotations
    @inline()
    Example:
    1. scala> IArray(1, 2).isEmpty
      res0: Boolean = false
      
      scala> IArray[Int](1, 2).dropL(10).isEmpty
      res1: Boolean = true
  58. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  59. def lastMaybe: Maybe[A]

    Example:
    1. scala> IArray(10, 20, 30).lastMaybe
      res0: scalaz.Maybe[Int] = Just(30)
  60. def lastOption: Option[A]

    Example:
    1. scala> IArray(10, 20, 30).lastOption
      res0: Option[Int] = Some(30)
  61. def length: Int

    Annotations
    @inline()
    Example:
    1. scala> IArray("a", "b").length
      res0: Int = 2
  62. def map[B](f: (A) => B): IArray[B]

    Example:
    1. scala> IArray(1, 2, 3).map(_ * 10)
      res0: IArray[Int] = IArray(10, 20, 30)
  63. def mapAccumL[S, B](z: S)(f: (S, A) => (S, B)): (S, IArray[B])

    Example:
    1. scala>
      res0: =
  64. def mapAccumR[S, B](z: S)(f: (S, A) => (S, B)): (S, IArray[B])

    Example:
    1. scala>
      res0: =
  65. def max(implicit O: Order[A]): Option[A]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(20, 30, 10).max
      res0: Option[Int] = Some(30)
      
      scala> IArray[Int]().max
      res1: Option[Int] = None
  66. def maxBy[B](f: (A) => B)(implicit O: Order[B]): Option[A]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray("aa", "bbb", "c").maxBy(_.size)
      res0: Option[String] = Some(bbb)
      
      scala> IArray[String]().maxBy(_.size)
      res1: Option[String] = None
  67. def maxOf[B](f: (A) => B)(implicit O: Order[B]): Option[B]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(20, 30, 10).maxOf(- _)
      res0: Option[Int] = Some(-10)
      
      scala> IArray[Int]().maxOf(- _)
      res1: Option[Int] = None
  68. def min(implicit O: Order[A]): Option[A]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(20, 30, 10).min
      res0: Option[Int] = Some(10)
      
      scala> IArray[Int]().min
      res1: Option[Int] = None
  69. def minBy[B](f: (A) => B)(implicit O: Order[B]): Option[A]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray("aa", "bbb", "c").minBy(_.size)
      res0: Option[String] = Some(c)
      
      scala> IArray[String]().minBy(_.size)
      res1: Option[String] = None
  70. def minOf[B](f: (A) => B)(implicit O: Order[B]): Option[B]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(20, 30, 10).minOf(- _)
      res0: Option[Int] = Some(-30)
      
      scala> IArray[Int]().minOf(- _)
      res1: Option[Int] = None
  71. def mkString(start: String, sep: String, end: String): String

    Example:
    1. scala> IArray(1, 2, 3).mkString("[", ",", "]")
      res0: String = [1,2,3]
  72. def mkString(sep: String = ""): String

    Example:
    1. scala> IArray("a", "b", "c").mkString("_")
      res0: String = a_b_c
  73. def nonEmpty: Boolean

    Annotations
    @inline()
    Example:
    1. scala> IArray(1, 2).nonEmpty
      res0: Boolean = true
      
      scala> IArray[Int](1, 2).dropL(10).nonEmpty
      res1: Boolean = false
  74. def oneAnd: Option[OneAnd[IArray, A]]

    Example:
    1. scala> IArray(1, 2, 3).oneAnd
      res0: Option[scalaz.OneAnd[IArray, Int]] = Some(OneAnd(1,IArray(2, 3)))
  75. def partition(f: (A) => Boolean): (IArray[A], IArray[A])

    Example:
    1. scala> IArray(2, 8, 11, -2, 5, 6).partition(_ % 2 == 0)
      res0: (IArray[Int], IArray[Int]) = (IArray(2, 8, -2, 6),IArray(11, 5))
  76. def reverse: IArray[A]

    Example:
    1. scala> IArray(1, 2, 3).reverse
      res0: IArray[Int] = IArray(3, 2, 1)
  77. def reverseArray(implicit A: ClassTag[A]): Array[A]

    Example:
    1. scala> IArray(1, 2, 3).reverseArray
      res0: Array[Int] = Array(3, 2, 1)
  78. def reverseIList: IList[A]

    Example:
    1. scala> IArray(1, 2, 3).reverseIList
      res0: scalaz.IList[Int] = [3,2,1]
  79. def reverseList: List[A]

    Example:
    1. scala> IArray(1, 2, 3).reverseList
      res0: List[Int] = List(3, 2, 1)
  80. def reverseMap[B](f: (A) => B): IArray[B]

    Example:
    1. scala> IArray(1, 2, 3, 4).reverseMap(_ * 3)
      res0: IArray[Int] = IArray(12, 9, 6, 3)
  81. def reverse_:::(prefix: IArray[A]): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3) reverse_::: IArray(10, 11, 12)
      res0: IArray[Int] = IArray(3, 2, 1, 10, 11, 12)
  82. def scanLeft[B](z: B)(f: (B, A) => B): IArray[B]

    Example:
    1. scala>
      res0: =
  83. def scanLeft1(f: (A, A) => A): IArray[A]

    Example:
    1. scala>
      res0: =
  84. def scanRight[B](z: B)(f: (A, B) => B): IArray[B]

    Example:
    1. scala>
      res0: =
  85. def scanRight1(f: (A, A) => A): IArray[A]

    Example:
    1. scala>
      res0: =
  86. def seconds[B, C](implicit e: <:<[A, Product2[B, C]]): IArray[C]

    Example:
    1. scala> IArray(("a", 10), ("b", 20)).seconds
      res0: IArray[Int] = IArray(10, 20)
  87. def size: Int
    Annotations
    @inline()
  88. def slice(from: Int, until: Int): IArray[A]

    Example:
    1. scala> val array = IArray("a", "b", "c", "d", "e", "f")
      scala> array.slice(1, 3)
      res0: IArray[String] = IArray(b, c)
      scala> array.slice(4, 17)
      res1: IArray[String] = IArray(e, f)
  89. def sortBy[B](f: (A) => B)(implicit O: Order[B]): IArray[A]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray("aaaa", "bb", "ccccc", "d").sortBy(_.length)
      res0: IArray[String] = IArray(d, bb, aaaa, ccccc)
  90. def sortWith(f: (A, A) => Boolean): IArray[A]

    Example:
    1. scala> IArray(2, 7, 4, 6, 1).sortWith(_ > _)
      res0: IArray[Int] = IArray(7, 6, 4, 2, 1)
  91. def sorted(implicit O: Order[A]): IArray[A]

    Example:
    1. scala> import scalaz.std.string._
      scala> IArray("y", "k", "f", "i", "t", "s").sorted
      res0: IArray[String] = IArray(f, i, k, s, t, y)
  92. def span(f: (A) => Boolean): (IArray[A], IArray[A])

    Example:
    1. scala> IArray(2, 8, 11, -2, 5, 6).span(_ % 2 == 0)
      res0: (IArray[Int], IArray[Int]) = (IArray(2, 8),IArray(11, -2, 5, 6))
  93. def splitAt(n: Int): (IArray[A], IArray[A])

    Example:
    1. scala> IArray(10, 20, 30, 40, 50, 60, 70).splitAt(5)
      res0: (IArray[Int], IArray[Int]) = (IArray(10, 20, 30, 40, 50),IArray(60, 70))
  94. def startsWith(that: IArray[A], offset: Int = 0)(implicit A: Equal[A]): Boolean

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(1, 2, 3, 4, 5) startsWith IArray(1, 2)
      res0: Boolean = true
  95. def sum(implicit A: Numeric[A]): A

    Example:
    1. scala> IArray(10, 20, 30).sum
      res0: Int = 60
  96. def tailMaybe: Maybe[IArray[A]]

    Example:
    1. scala> IArray(10, 20, 30).tailMaybe
      res0: scalaz.Maybe[IArray[Int]] = Just(IArray(20, 30))
  97. def tailOption: Option[IArray[A]]

    Example:
    1. scala> IArray(10, 20, 30).tailOption
      res0: Option[IArray[Int]] = Some(IArray(20, 30))
  98. def takeL(n: Int): IArray[A]

    Example:
    1. scala> IArray("a", "b", "c", "d", "e", "f").takeL(2)
      res0: IArray[String] = IArray(a, b)
  99. def takeR(n: Int): IArray[A]

    Example:
    1. scala> IArray("a", "b", "c", "d", "e", "f").takeR(4)
      res0: IArray[String] = IArray(c, d, e, f)
  100. def takeWhileL(f: (A) => Boolean): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).takeWhileL(_ < 5)
      res0: IArray[Int] = IArray(1, 2, 3, 4)
  101. def takeWhileR(f: (A) => Boolean): IArray[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).takeWhileR(_ > 2)
      res0: IArray[Int] = IArray(3, 4, 5, 6, 7)
  102. def toArray(implicit A: ClassTag[A]): Array[A]

    Example:
    1. scala> IArray(1, 2, 3).toArray
      res0: Array[Int] = Array(1, 2, 3)
  103. def toIArray1: Option[IArray1[A]]

    Example:
    1. scala> IArray(1, 2, 3).toIArray1
      res0: Option[IArray1[Int]] = Some(IArray1(1, 2, 3))
      
      scala> IArray[Int]().toIArray1
      res1: Option[IArray1[Int]] = None
  104. def toIList: IList[A]

    Example:
    1. scala> IArray(1, 2, 3).toIList
      res0: scalaz.IList[Int] = [1,2,3]
  105. def toIterator: Iterator[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5).toIterator.filter(_ % 2 == 0).toList
      res0: List[Int] = List(2, 4)
  106. def toList: List[A]

    Example:
    1. scala> IArray(1, 2, 3).toList
      res0: List[Int] = List(1, 2, 3)
  107. def toNel: Option[NonEmptyList[A]]

    Example:
    1. scala> import scalaz.NonEmptyList
      scala> IArray(1, 2, 3).toNel
      res0: Option[NonEmptyList[Int]] = Some(NonEmpty[1,2,3])
      
      scala> IArray[Int]().toNel
      res1: Option[NonEmptyList[Int]] = None
  108. def toStream: Stream[A]
  109. def toString(): String

    Definition Classes
    IArray → Any
    Example:
    1. scala> IArray(1, 2, 3).toString
      res0: String = IArray(1, 2, 3)
  110. def toVector: Vector[A]
  111. def unzip[B, C](implicit e: <:<[A, Product2[B, C]]): (IArray[B], IArray[C])

    alias of unzip2

  112. def unzip2[B, C](implicit e: <:<[A, Product2[B, C]]): (IArray[B], IArray[C])

    Example:
    1. scala> IArray(("a", 1), ("b", 2)).unzip2
      res0: (IArray[String], IArray[Int]) = (IArray(a, b),IArray(1, 2))
  113. def unzip3[B, C, D](implicit e: <:<[A, Product3[B, C, D]]): (IArray[B], IArray[C], IArray[D])

    Example:
    1. scala> IArray(("a", 1, true), ("b", 2, false)).unzip3
      res0: (IArray[String], IArray[Int], IArray[Boolean]) = (IArray(a, b),IArray(1, 2),IArray(true, false))
  114. def unzip4[B, C, D, E](implicit e: <:<[A, Product4[B, C, D, E]]): (IArray[B], IArray[C], IArray[D], IArray[E])

    Example:
    1. scala> IArray(("a", 1, true, List(3)), ("b", 2, false, List(4))).unzip4
      res0: (IArray[String], IArray[Int], IArray[Boolean], IArray[List[Int]]) = (IArray(a, b),IArray(1, 2),IArray(true, false),IArray(List(3), List(4)))
  115. def unzip5[B, C, D, E, F](implicit e: <:<[A, Product5[B, C, D, E, F]]): (IArray[B], IArray[C], IArray[D], IArray[E], IArray[F])

    Example:
    1. scala> IArray(("a", 1, true, List(3), 'f'), ("b", 2, false, List(4), 'g')).unzip5
      res0: (IArray[String], IArray[Int], IArray[Boolean], IArray[List[Int]], IArray[Char]) = (IArray(a, b),IArray(1, 2),IArray(true, false),IArray(List(3), List(4)),IArray(f, g))
  116. def updated(index: Int, elem: A): IArray[A]

    Annotations
    @throws(scala.this.throws.<init>$default$1[IndexOutOfBoundsException])
    Example:
    1. scala> IArray("a", "b", "c", "d").updated(2, "z")
      res0: IArray[String] = IArray(a, b, z, d)
  117. def widen[B](implicit ev: <:<[A, B]): IArray[B]

    Example:
    1. scala> IArray(List(1)).widen[Seq[Int]]
      res0: IArray[Seq[Int]] = IArray(List(1))
  118. def withFilter(f: (A) => Boolean): WithFilter[A]

    Example:
    1. scala> IArray(1, 2, 3, 4, 5).withFilter(_ % 3 != 1).map(_ * 10)
      res0: IArray[Int] = IArray(20, 30, 50)
  119. def withIndex: WithIndex[A]

    Example:
    1. scala>
      res0: =
  120. def zip[B](that: IArray[B]): IArray[(A, B)]

    Example:
    1. scala> IArray("a", "b") zip IArray(1, 2, 3, 4)
      res0: IArray[(String, Int)] = IArray((a,1), (b,2))
  121. def zipAll[B](that: IArray[B], a: A, b: B): IArray[(A, B)]

    Example:
    1. scala> IArray("a", "b", "c", "d").zipAll(IArray(1, 2), "z", 0)
      res0: IArray[(String, Int)] = IArray((a,1), (b,2), (c,0), (d,0))
  122. def zipWith[B, C](that: IArray[B])(f: (A, B) => C): IArray[C]

    Example:
    1. scala> IArray("a", "b", "c", "d").zipWith(IArray("x", "y", "z"))(_ + _)
      res0: IArray[String] = IArray(ax, by, cz)
  123. def zipWithIndex: IArray[(A, Int)]

    Example:
    1. scala> IArray("a", "b", "c").zipWithIndex
      res0: IArray[(String, Int)] = IArray((a,0), (b,1), (c,2))
  124. def zipperEnd: Option[Zipper[A]]

    Example:
    1. scala> IArray(1, 2, 3).zipperEnd.map(_.modify(_ + 10).toStream.toList)
      res0: Option[List[Int]] = Some(List(1, 2, 13))

Inherited from AnyVal

Inherited from Any

Ungrouped