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
- Alphabetic
- By Inheritance
- ConstArray
- Product
- Equals
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toany2stringadd[ConstArray[T]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ++(o: Option[T]): ConstArray[T]
- def ++[U >: T](u: ConstArray[U]): ConstArray[U]
- def +:(v: T): ConstArray[T]
- def ->[B](y: B): (ConstArray[T], B)
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toArrowAssoc[ConstArray[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- def :+(v: T): ConstArray[T]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(i: Int): T
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(that: Any): Boolean
- Definition Classes
- ConstArray → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def collect[R](f: PartialFunction[T, R]): ConstArray[R]
- def drop(n: Int): ConstArray[T]
- 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.
- def ensuring(cond: (ConstArray[T]) => Boolean, msg: => Any): ConstArray[T]
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toEnsuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ConstArray[T]) => Boolean): ConstArray[T]
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toEnsuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ConstArray[T]
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toEnsuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ConstArray[T]
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toEnsuring[ConstArray[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
- Definition Classes
- ConstArray → Equals → AnyRef → Any
- def exists(f: (T) => Boolean): Boolean
- def filter(p: (T) => Boolean): ConstArray[T]
- def find(f: (T) => Boolean): Option[T]
- def flatMap[R](f: (T) => ConstArray[R]): ConstArray[R]
- def flatten[R](implicit ev: <:<[T, ConstArray[R]]): ConstArray[R]
- def foldLeft[B](z: B)(op: (B, T) => B): B
- def foldRight[B](z: B)(op: (T, B) => B): B
- def forall(f: (T) => Boolean): Boolean
- def foreach[R](f: (T) => R): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- ConstArray → AnyRef → Any
- def head: T
- def headOption: Option[T]
- def indexWhere(f: (T) => Boolean): Int
- def init: ConstArray[T]
- def isEmpty: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def iterator: Iterator[T]
- def last: T
- def lastOption: Option[T]
- val length: Int
- def lengthCompare(n: Int): Int
- def map[R](f: (T) => R): ConstArray[R]
- def mkString(start: String, sep: String, end: String): String
- def mkString(sep: String): String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productArity: Int
- Definition Classes
- ConstArray → Product
- def productElement(i: Int): Any
- Definition Classes
- ConstArray → Product
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- ConstArray → Product
- def slice(from: Int, until: Int): ConstArray[T]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: ConstArray[T]
- def take(n: Int): ConstArray[T]
- def toArray[R >: T](implicit arg0: ClassTag[R]): Array[R]
- def toMap[R, U](implicit ev: <:<[T, (R, U)]): HashMap[R, U]
- def toSeq: IndexedSeq[T]
- def toSet: HashSet[T]
- def toString(): String
- Definition Classes
- ConstArray → AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withFilter(p: (T) => Boolean): ConstArrayOp[T]
- def zip[U](u: ConstArray[U]): ConstArrayOp[(T, U)]
- def zipWithIndex: ConstArrayOp[(T, Int)]
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toStringFormat[ConstArray[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ConstArray[T], B)
- Implicit
- This member is added by an implicit conversion from ConstArray[T] toArrowAssoc[ConstArray[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.
edit this text on github
Scala Language-Integrated Connection Kit
This is the API documentation for the Slick database library. It should be used as an additional resource to the user manual.
Further documentation for Slick can be found on the documentation pages.
To the slick package list...