final class ofRef[X <: AnyRef] extends AnyRef
- Alphabetic
- By Inheritance
- ofRef
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ofRef(self: Array[X])(implicit arg0: ClassTag[X])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ++(that: ofRef[X]): ofRef[X]
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===(that: ofRef[X]): Boolean
- Annotations
- @inline()
- def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def collect[A](f: PartialFunction[X, A])(implicit A: ClassTag[A]): Array[A]
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectBoolean(f: PartialFunction[X, Boolean]): ofBoolean
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectByte(f: PartialFunction[X, Byte]): ofByte
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectChar(f: PartialFunction[X, Char]): ofChar
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectDouble(f: PartialFunction[X, Double]): ofDouble
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectFirst[A](f: PartialFunction[X, A])(implicit A: ClassTag[A]): Option[A]
- def collectFirstBoolean(f: PartialFunction[X, Boolean]): Option[Boolean]
- def collectFirstByte(f: PartialFunction[X, Byte]): Option[Byte]
- def collectFirstChar(f: PartialFunction[X, Char]): Option[Char]
- def collectFirstDouble(f: PartialFunction[X, Double]): Option[Double]
- def collectFirstFloat(f: PartialFunction[X, Float]): Option[Float]
- def collectFirstInt(f: PartialFunction[X, Int]): Option[Int]
- def collectFirstLong(f: PartialFunction[X, Long]): Option[Long]
- def collectFirstRef[Y <: AnyRef](f: PartialFunction[X, Y])(implicit arg0: ClassTag[Y]): Option[Y]
- def collectFirstShort(f: PartialFunction[X, Short]): Option[Short]
- def collectFloat(f: PartialFunction[X, Float]): ofFloat
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectInt(f: PartialFunction[X, Int]): ofInt
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectLong(f: PartialFunction[X, Long]): ofLong
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectRef[Y <: AnyRef](f: PartialFunction[X, Y])(implicit arg0: ClassTag[Y]): ofRef[Y]
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def collectShort(f: PartialFunction[X, Short]): ofShort
can not avoid boxing
PartialFunction#applyOrElse
use.withFilter(predicate).map(f)
instead - def contains(elem: X): Boolean
- def count(f: (X) => Boolean): Int
- def deleteFirst(elem: X): ofRef[X]
- def drop(n: Int): ofRef[X]
- def dropRight(n: Int): ofRef[X]
- def dropWhile(f: (X) => Boolean): ofRef[X]
- def dropWhileR(f: (X) => Boolean): ofRef[X]
- def endsWith(that: Array[X]): Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exists(f: (X) => Boolean): Boolean
- def filter(f: (X) => Boolean): ofRef[X]
- def filterNot(f: (X) => Boolean): ofRef[X]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def find(f: (X) => Boolean): Option[X]
- def flatMap[A](f: (X) => Array[A])(implicit A: ClassTag[A]): Array[A]
- def flatMapBoolean(f: (X) => Array[Boolean]): ofBoolean
- def flatMapByte(f: (X) => Array[Byte]): ofByte
- def flatMapChar(f: (X) => Array[Char]): ofChar
- def flatMapDouble(f: (X) => Array[Double]): ofDouble
- def flatMapFloat(f: (X) => Array[Float]): ofFloat
- def flatMapInt(f: (X) => Array[Int]): ofInt
- def flatMapLong(f: (X) => Array[Long]): ofLong
- def flatMapRef[Y <: AnyRef](f: (X) => Array[Y])(implicit arg0: ClassTag[Y]): ofRef[Y]
- def flatMapShort(f: (X) => Array[Short]): ofShort
- def flatten[E](implicit E: <:<[X, Array[E]]): Array[E]
- def foldLeft[A](z: A)(f: (A, X) => A)(implicit A: ClassTag[A]): A
- def foldLeftBoolean(z: Boolean)(f: (Boolean, X) => Boolean): Boolean
- def foldLeftByte(z: Byte)(f: (Byte, X) => Byte): Byte
- def foldLeftChar(z: Char)(f: (Char, X) => Char): Char
- def foldLeftDouble(z: Double)(f: (Double, X) => Double): Double
- def foldLeftFloat(z: Float)(f: (Float, X) => Float): Float
- def foldLeftInt(z: Int)(f: (Int, X) => Int): Int
- def foldLeftLong(z: Long)(f: (Long, X) => Long): Long
- def foldLeftRef[Y](z: Y)(f: (Y, X) => Y): Y
- def foldLeftShort(z: Short)(f: (Short, X) => Short): Short
- def foldMapLeft1[A](z: (X) => A)(f: (A, X) => A)(implicit A: ClassTag[A]): Option[A]
- def foldMapLeft1Boolean(z: (X) => Boolean)(f: (Boolean, X) => Boolean): Option[Boolean]
- def foldMapLeft1Byte(z: (X) => Byte)(f: (Byte, X) => Byte): Option[Byte]
- def foldMapLeft1Char(z: (X) => Char)(f: (Char, X) => Char): Option[Char]
- def foldMapLeft1Double(z: (X) => Double)(f: (Double, X) => Double): Option[Double]
- def foldMapLeft1Float(z: (X) => Float)(f: (Float, X) => Float): Option[Float]
- def foldMapLeft1Int(z: (X) => Int)(f: (Int, X) => Int): Option[Int]
- def foldMapLeft1Long(z: (X) => Long)(f: (Long, X) => Long): Option[Long]
- def foldMapLeft1Ref[Y](z: (X) => Y)(f: (Y, X) => Y): Option[Y]
- def foldMapLeft1Short(z: (X) => Short)(f: (Short, X) => Short): Option[Short]
- def foldMapRight1[A](z: (X) => A)(f: (X, A) => A)(implicit A: ClassTag[A]): Option[A]
- def foldMapRight1Boolean(z: (X) => Boolean)(f: (X, Boolean) => Boolean): Option[Boolean]
- def foldMapRight1Byte(z: (X) => Byte)(f: (X, Byte) => Byte): Option[Byte]
- def foldMapRight1Char(z: (X) => Char)(f: (X, Char) => Char): Option[Char]
- def foldMapRight1Double(z: (X) => Double)(f: (X, Double) => Double): Option[Double]
- def foldMapRight1Float(z: (X) => Float)(f: (X, Float) => Float): Option[Float]
- def foldMapRight1Int(z: (X) => Int)(f: (X, Int) => Int): Option[Int]
- def foldMapRight1Long(z: (X) => Long)(f: (X, Long) => Long): Option[Long]
- def foldMapRight1Ref[Y](z: (X) => Y)(f: (X, Y) => Y): Option[Y]
- def foldMapRight1Short(z: (X) => Short)(f: (X, Short) => Short): Option[Short]
- def foldRight[A](z: A)(f: (X, A) => A)(implicit A: ClassTag[A]): A
- def foldRightBoolean(z: Boolean)(f: (X, Boolean) => Boolean): Boolean
- def foldRightByte(z: Byte)(f: (X, Byte) => Byte): Byte
- def foldRightChar(z: Char)(f: (X, Char) => Char): Char
- def foldRightDouble(z: Double)(f: (X, Double) => Double): Double
- def foldRightFloat(z: Float)(f: (X, Float) => Float): Float
- def foldRightInt(z: Int)(f: (X, Int) => Int): Int
- def foldRightLong(z: Long)(f: (X, Long) => Long): Long
- def foldRightRef[Y](z: Y)(f: (X, Y) => Y): Y
- def foldRightShort(z: Short)(f: (X, Short) => Short): Short
- def forall(f: (X) => Boolean): Boolean
- def foreach[U](f: (X) => U): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def groupBy[A](f: (X) => A): Map[A, ofRef[X]]
- def grouped(n: Int): Iterator[ofRef[X]]
- Annotations
- @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def indexOf(elem: X): Option[Int]
- def initOption: Option[ofRef[X]]
- def inits: Iterator[ofRef[X]]
- def interleave(that: ofRef[X]): ofRef[X]
- def intersperse(a: X): ofRef[X]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lastIndexOf(elem: X): Option[Int]
- def length: Int
- Annotations
- @inline()
- def map[A](f: (X) => A)(implicit A: ClassTag[A]): Array[A]
- def mapBoolean(f: (X) => Boolean): ofBoolean
- def mapByte(f: (X) => Byte): ofByte
- def mapChar(f: (X) => Char): ofChar
- def mapDouble(f: (X) => Double): ofDouble
- def mapFloat(f: (X) => Float): ofFloat
- def mapInt(f: (X) => Int): ofInt
- def mapLong(f: (X) => Long): ofLong
- def mapRef[Y <: AnyRef](f: (X) => Y)(implicit arg0: ClassTag[Y]): ofRef[Y]
- def mapShort(f: (X) => Short): ofShort
- def max[B >: X](implicit O: Ordering[B]): Option[X]
- def maxBy[A](f: (X) => A)(implicit A: Ordering[A]): Option[X]
- def min[B >: X](implicit O: Ordering[B]): Option[X]
- def minBy[A](f: (X) => A)(implicit A: Ordering[A]): Option[X]
- def minmax[B >: X](implicit O: Ordering[B]): Option[(X, X)]
- def mkString: String
- def mkString(sep: String): String
- def mkString(start: String, sep: String, end: String): String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def partition(f: (X) => Boolean): (ofRef[X], ofRef[X])
- def reduceLeftOption(f: (X, X) => X): Option[X]
- def reduceRightOption(f: (X, X) => X): Option[X]
- def reverse: ofRef[X]
- def reverseMap[A](f: (X) => A)(implicit A: ClassTag[A]): Array[A]
- def reverseMapBoolean(f: (X) => Boolean): ofBoolean
- def reverseMapByte(f: (X) => Byte): ofByte
- def reverseMapChar(f: (X) => Char): ofChar
- def reverseMapDouble(f: (X) => Double): ofDouble
- def reverseMapFloat(f: (X) => Float): ofFloat
- def reverseMapInt(f: (X) => Int): ofInt
- def reverseMapLong(f: (X) => Long): ofLong
- def reverseMapRef[Y <: AnyRef](f: (X) => Y)(implicit arg0: ClassTag[Y]): ofRef[Y]
- def reverseMapShort(f: (X) => Short): ofShort
- def reverse_:::(prefix: ofRef[X]): ofRef[X]
- def scanLeft[A](z: A)(f: (A, X) => A)(implicit A: ClassTag[A]): Array[A]
- def scanLeft1(f: (X, X) => X): ofRef[X]
- def scanLeftBoolean(z: Boolean)(f: (Boolean, X) => Boolean): ofBoolean
- def scanLeftByte(z: Byte)(f: (Byte, X) => Byte): ofByte
- def scanLeftChar(z: Char)(f: (Char, X) => Char): ofChar
- def scanLeftDouble(z: Double)(f: (Double, X) => Double): ofDouble
- def scanLeftFloat(z: Float)(f: (Float, X) => Float): ofFloat
- def scanLeftInt(z: Int)(f: (Int, X) => Int): ofInt
- def scanLeftLong(z: Long)(f: (Long, X) => Long): ofLong
- def scanLeftRef[Y <: AnyRef](z: Y)(f: (Y, X) => Y)(implicit arg0: ClassTag[Y]): ofRef[Y]
- def scanLeftShort(z: Short)(f: (Short, X) => Short): ofShort
- def scanRight[A](z: A)(f: (X, A) => A)(implicit A: ClassTag[A]): Array[A]
- def scanRight1(f: (X, X) => X): ofRef[X]
- def scanRightBoolean(z: Boolean)(f: (X, Boolean) => Boolean): ofBoolean
- def scanRightByte(z: Byte)(f: (X, Byte) => Byte): ofByte
- def scanRightChar(z: Char)(f: (X, Char) => Char): ofChar
- def scanRightDouble(z: Double)(f: (X, Double) => Double): ofDouble
- def scanRightFloat(z: Float)(f: (X, Float) => Float): ofFloat
- def scanRightInt(z: Int)(f: (X, Int) => Int): ofInt
- def scanRightLong(z: Long)(f: (X, Long) => Long): ofLong
- def scanRightRef[Y <: AnyRef](z: Y)(f: (X, Y) => Y)(implicit arg0: ClassTag[Y]): ofRef[Y]
- def scanRightShort(z: Short)(f: (X, Short) => Short): ofShort
- val self: Array[X]
- def size: Int
- Annotations
- @inline()
- def slice(from: Int, until: Int): ofRef[X]
- def sliding(_size: Int, step: Int = 1): Iterator[ofRef[X]]
- Annotations
- @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
- def sorted(implicit ord: Ordering[X]): ofRef[X]
- def span(f: (X) => Boolean): (ofRef[X], ofRef[X])
- def splitAt(n: Int): (ofRef[X], ofRef[X])
- def startsWith(that: Array[X], offset: Int = 0): Boolean
- def sum(implicit X: Numeric[X]): X
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tailOption: Option[ofRef[X]]
- def tails: Iterator[ofRef[X]]
- def take(n: Int): ofRef[X]
- def takeRight(n: Int): ofRef[X]
- def takeWhile(f: (X) => Boolean): ofRef[X]
- def takeWhileR(f: (X) => Boolean): ofRef[X]
- def toArray: Array[X]
- def toList: List[X]
- def toString(): String
- Definition Classes
- ofRef → AnyRef → Any
- def updated(index: Int, elem: X): ofRef[X]
- Annotations
- @throws(scala.this.throws.<init>$default$1[IndexOutOfBoundsException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def withFilter(f: (X) => Boolean): WithFilterRef[X]