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
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConstArray
- Product
- Equals
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
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] to any2stringadd[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] to ArrowAssoc[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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- 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] to Ensuring[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] to Ensuring[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] to Ensuring[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] to Ensuring[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
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- 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
-
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()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
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
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
productArity: Int
- Definition Classes
- ConstArray → Product
-
def
productElement(i: Int): Any
- Definition Classes
- ConstArray → 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(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withFilter(p: (T) ⇒ Boolean): ConstArrayOp[T]
- def zip[U](u: ConstArray[U]): ConstArrayOp[(T, U)]
- def zipWithIndex: ConstArrayOp[(T, Int)]
-
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
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...