final class ConstArray[+T] extends Product

An efficient immutable array implementation which is used in the AST. Semantics are generally the same as for Scala collections but for performance reasons it does not implement any standard collection traits.

Self Type
ConstArray[T]
Source
ConstArray.scala
Linear Supertypes
Product, Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConstArray
  2. Product
  3. Equals
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to any2stringadd[ConstArray[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ++(o: Option[T]): ConstArray[T]
  5. def ++[U >: T](u: ConstArray[U]): ConstArray[U]
  6. def +:(v: T): ConstArray[T]
  7. def ->[B](y: B): (ConstArray[T], B)
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to ArrowAssoc[ConstArray[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  8. def :+(v: T): ConstArray[T]
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def apply(i: Int): T
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def canEqual(that: Any): Boolean
    Definition Classes
    ConstArray → Equals
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def collect[R](f: PartialFunction[T, R]): ConstArray[R]
  15. def drop(n: Int): ConstArray[T]
  16. def endoMap(f: (T) ⇒ T): ConstArray[T]

    Perform a mapping operation that does not change the type.

    Perform a mapping operation that does not change the type. If all elements remain unchanged (as determined by object identity), return this ConstArray instead of building a new one.

  17. def ensuring(cond: (ConstArray[T]) ⇒ Boolean, msg: ⇒ Any): ConstArray[T]
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to Ensuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (ConstArray[T]) ⇒ Boolean): ConstArray[T]
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to Ensuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: ⇒ Any): ConstArray[T]
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to Ensuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): ConstArray[T]
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to Ensuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(o: Any): Boolean
    Definition Classes
    ConstArray → Equals → AnyRef → Any
  23. def exists(f: (T) ⇒ Boolean): Boolean
  24. def filter(p: (T) ⇒ Boolean): ConstArray[T]
  25. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  26. def find(f: (T) ⇒ Boolean): Option[T]
  27. def flatMap[R](f: (T) ⇒ ConstArray[R]): ConstArray[R]
  28. def flatten[R](implicit ev: <:<[T, ConstArray[R]]): ConstArray[R]
  29. def foldLeft[B](z: B)(op: (B, T) ⇒ B): B
  30. def foldRight[B](z: B)(op: (T, B) ⇒ B): B
  31. def forall(f: (T) ⇒ Boolean): Boolean
  32. def foreach[R](f: (T) ⇒ R): Unit
  33. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to StringFormat[ConstArray[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  34. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  35. def hashCode(): Int
    Definition Classes
    ConstArray → AnyRef → Any
  36. def head: T
  37. def headOption: Option[T]
  38. def indexWhere(f: (T) ⇒ Boolean): Int
  39. def init: ConstArray[T]
  40. def isEmpty: Boolean
  41. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  42. def iterator: Iterator[T]
  43. def last: T
  44. def lastOption: Option[T]
  45. val length: Int
  46. def lengthCompare(n: Int): Int
  47. def map[R](f: (T) ⇒ R): ConstArray[R]
  48. def mkString(start: String, sep: String, end: String): String
  49. def mkString(sep: String): String
  50. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  51. def nonEmpty: Boolean
  52. final def notify(): Unit
    Definition Classes
    AnyRef
  53. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  54. def productArity: Int
    Definition Classes
    ConstArray → Product
  55. def productElement(i: Int): Any
    Definition Classes
    ConstArray → Product
  56. def productIterator: Iterator[Any]
    Definition Classes
    Product
  57. def productPrefix: String
    Definition Classes
    ConstArray → Product
  58. def slice(from: Int, until: Int): ConstArray[T]
  59. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  60. def tail: ConstArray[T]
  61. def take(n: Int): ConstArray[T]
  62. def toArray[R >: T](implicit arg0: ClassTag[R]): Array[R]
  63. def toMap[R, U](implicit ev: <:<[T, (R, U)]): HashMap[R, U]
  64. def toSeq: IndexedSeq[T]
  65. def toSet: HashSet[T]
  66. def toString(): String
    Definition Classes
    ConstArray → AnyRef → Any
  67. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. def withFilter(p: (T) ⇒ Boolean): ConstArrayOp[T]
  71. def zip[U](u: ConstArray[U]): ConstArrayOp[(T, U)]
  72. def zipWithIndex: ConstArrayOp[(T, Int)]
  73. def [B](y: B): (ConstArray[T], B)
    Implicit
    This member is added by an implicit conversion from ConstArray[T] to ArrowAssoc[ConstArray[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ConstArray[T] to any2stringadd[ConstArray[T]]

Inherited by implicit conversion StringFormat from ConstArray[T] to StringFormat[ConstArray[T]]

Inherited by implicit conversion Ensuring from ConstArray[T] to Ensuring[ConstArray[T]]

Inherited by implicit conversion ArrowAssoc from ConstArray[T] to ArrowAssoc[ConstArray[T]]

Ungrouped