iarray

IArray

final class IArray[A] extends AnyRef

Source
IArray.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. IArray
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 ++(that: IArray[A]): IArray[A]

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

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

    Example:
    1. scala> IArray(1, 2, 3) :+ 100
      res0: IArray[Int] = IArray(1, 2, 3, 100)
  7. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  9. 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
  10. 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
  11. 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))
  12. def alignWith[B, C](that: IArray[B])(f: (\&/[A, B]) ⇒ C): IArray[C]

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

    Annotations
    @inline()
    Example:
    1. scala> val x = IArray(10, 20, 30, 40)
      scala> x(2)
      res0: Int = 30
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def cobind[B](f: (IArray[A]) ⇒ B): IArray[B]

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

    Example:
    1. scala>
      res0: =
  18. 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)
  19. 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))
  20. 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)
  21. 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)
  22. 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
  23. def count(f: (A) ⇒ Boolean): Int

    Example:
    1. scala> IArray(1, 2, 3, 4, 5, 6, 7).count(_ % 2 == 1)
      res0: Int = 4
  24. 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()
  25. 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()
  26. 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)
  27. 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)
  28. 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
  29. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  31. 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
  32. 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)
  33. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  34. def find(f: (A) ⇒ Boolean): Option[A]

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

    Example:
    1. scala> IArray(1, 2, 3, 4, 5).findRight(_ < 4)
      res0: Option[Int] = Some(3)
  36. 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)
  37. 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)
  38. 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)
  39. 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
  40. 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
  41. 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
  42. def foldMap1Opt[B](f: (A) ⇒ B)(implicit B: Semigroup[B]): Option[B]

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

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

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

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

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

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

    Example:
    1. scala>
      res0: =
  49. 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
  50. def foreach[U](f: (A) ⇒ U): Unit

    Example:
    1. scala>
      res0: =
  51. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  52. def groupBy1[B](f: (A) ⇒ B)(implicit O: Order[B]): ==>>[B, IArray1[A]]

    Example:
    1. scala> import scalaz.==>>
      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)))
  53. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  54. def headMaybe: Maybe[A]

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

    Example:
    1. scala> IArray(10, 20, 30).headOption
      res0: Option[Int] = Some(10)
  56. 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
  57. 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
  58. def initMaybe: Maybe[IArray[A]]

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

    Example:
    1. scala> IArray(10, 20, 30).initOption
      res0: Option[IArray[Int]] = Some(IArray(10, 20))
  60. 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)
  61. 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
  62. def interleave(that: IArray[A]): IArray[A]

  63. 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)
  64. 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
  65. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  66. def lastMaybe: Maybe[A]

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

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

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

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

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

    Example:
    1. scala>
      res0: =
  72. def mapTo[C, B](f: (A) ⇒ B)(implicit C: CanBuildFrom[Nothing, B, C]): C

    Example:
    1. scala> IArray(1, 2, 3).mapTo(_ * 10): List[Int]
      res0: List[Int] = List(10, 20, 30)
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. def mkString(start: String, sep: String, end: String): String

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

    Example:
    1. scala> IArray("a", "b", "c").mkString("_")
      res0: String = a_b_c
  81. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  82. 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
  83. final def notify(): Unit

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

    Definition Classes
    AnyRef
  85. 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)))
  86. 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))
  87. def reverse: IArray[A]

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

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

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

    Example:
    1. scala> IArray(1, 2, 3).reverseList
      res0: List[Int] = List(3, 2, 1)
  91. 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)
  92. 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)
  93. def reversed[F[_]](implicit C: CanBuildFrom[Nothing, A, F[A]]): F[A]

    Example:
    1. scala> IArray(10, 20, 30, 40).reversed[List]
      res0: List[Int] = List(40, 30, 20, 10)
  94. def scanLeft[B](z: B)(f: (B, A) ⇒ B): IArray[B]

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

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

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

    Example:
    1. scala>
      res0: =
  98. 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)
  99. def size: Int

    Annotations
    @inline()
  100. 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)
  101. 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)
  102. def sortWith(f: (A, A) ⇒ Boolean): IArray[A]

    Example:
    1. scala> import scalaz.std.anyVal._
      scala> IArray(2, 7, 4, 6, 1).sortWith(_ > _)
      res0: IArray[Int] = IArray(7, 6, 4, 2, 1)
  103. 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)
  104. 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))
  105. 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))
  106. 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
  107. def sum(implicit A: Numeric[A]): A

    Example:
    1. scala> IArray(10, 20, 30).sum
      res0: Int = 60
  108. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  109. def tailMaybe: Maybe[IArray[A]]

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

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

    Example:
    1. scala> IArray("a", "b", "c", "d", "e", "f").takeL(2)
      res0: IArray[String] = IArray(a, b)
  112. 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)
  113. 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)
  114. 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)
  115. def to[F[_]](implicit C: CanBuildFrom[Nothing, A, F[A]]): F[A]

    Example:
    1. scala> IArray(10, 20, 30, 40).to[Vector]
      res0: Vector[Int] = Vector(10, 20, 30, 40)
  116. def toArray(implicit A: ClassTag[A]): Array[A]

    Example:
    1. scala> IArray(1, 2, 3).toArray
      res0: Array[Int] = Array(1, 2, 3)
  117. 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
  118. def toIList: IList[A]

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

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

    Example:
    1. scala> IArray(1, 2, 3).toList
      res0: List[Int] = List(1, 2, 3)
  121. 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
  122. def toOneAnd[F[_]](implicit C: CanBuildFrom[Nothing, A, F[A]]): Option[OneAnd[F, A]]

    Example:
    1. scala> import scalaz.OneAnd
      scala> IArray(10, 20, 30, 40).toOneAnd[Vector]
      res0: Option[OneAnd[Vector, Int]] = Some(OneAnd(10,Vector(20, 30, 40)))
      scala> IArray.empty[String].toOneAnd[Vector]
      res1: Option[OneAnd[Vector, String]] = None
  123. def toString(): String

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

    alias of unzip2

  125. 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))
  126. 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))
  127. 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, 'x), ("b", 2, false, 'y)).unzip4
      res0: (IArray[String], IArray[Int], IArray[Boolean], IArray[Symbol]) = (IArray(a, b),IArray(1, 2),IArray(true, false),IArray('x, 'y))
  128. 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, 'x, 'f'), ("b", 2, false, 'y, 'g')).unzip5
      res0: (IArray[String], IArray[Int], IArray[Boolean], IArray[Symbol], IArray[Char]) = (IArray(a, b),IArray(1, 2),IArray(true, false),IArray('x, 'y),IArray(f, g))
  129. def updated(index: Int, elem: A): IArray[A]

    Annotations
    @throws( ... )
    Example:
    1. scala> IArray("a", "b", "c", "d").updated(2, "z")
      res0: IArray[String] = IArray(a, b, z, d)
  130. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  133. 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))
  134. 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)
  135. def withIndex: WithIndex[A]

    Example:
    1. scala>
      res0: =
  136. 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))
  137. 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))
  138. 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)
  139. def zipWithIndex: IArray[(A, Int)]

    Example:
    1. scala> IArray("a", "b", "c").zipWithIndex
      res0: IArray[(String, Int)] = IArray((a,0), (b,1), (c,2))
  140. 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 AnyRef

Inherited from Any

Ungrouped