ofShort

nobox.ofShort
See theofShort companion object
final class ofShort(val self: Array[Short]) extends AnyVal

Attributes

Companion
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def ++(that: ofShort): ofShort
def ===(that: ofShort): Boolean
def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
def collect[A](f: PartialFunction[Short, A])(implicit A: ClassTag[A]): Array[A]

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectBoolean(f: PartialFunction[Short, Boolean]): ofBoolean

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectByte(f: PartialFunction[Short, Byte]): ofByte

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectChar(f: PartialFunction[Short, Char]): ofChar

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectDouble(f: PartialFunction[Short, Double]): ofDouble

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectFirst[A](f: PartialFunction[Short, A])(implicit A: ClassTag[A]): Option[A]
def collectFirstBoolean(f: PartialFunction[Short, Boolean]): Option[Boolean]
def collectFirstByte(f: PartialFunction[Short, Byte]): Option[Byte]
def collectFirstChar(f: PartialFunction[Short, Char]): Option[Char]
def collectFirstDouble(f: PartialFunction[Short, Double]): Option[Double]
def collectFirstFloat(f: PartialFunction[Short, Float]): Option[Float]
def collectFirstInt(f: PartialFunction[Short, Int]): Option[Int]
def collectFirstLong(f: PartialFunction[Short, Long]): Option[Long]
def collectFirstRef[Y <: AnyRef : ClassTag](f: PartialFunction[Short, Y]): Option[Y]
def collectFirstShort(f: PartialFunction[Short, Short]): Option[Short]
def collectFloat(f: PartialFunction[Short, Float]): ofFloat

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectInt(f: PartialFunction[Short, Int]): ofInt

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectLong(f: PartialFunction[Short, Long]): ofLong

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectRef[Y <: AnyRef : ClassTag](f: PartialFunction[Short, Y]): ofRef[Y]

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def collectShort(f: PartialFunction[Short, Short]): ofShort

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

can not avoid boxing PartialFunction#applyOrElse use .withFilter(predicate).map(f) instead

Attributes

def contains(elem: Short): Boolean
def count(f: Short => Boolean): Int
def deleteFirst(elem: Short): ofShort
def drop(n: Int): ofShort
def dropRight(n: Int): ofShort
def dropWhile(f: Short => Boolean): ofShort
def dropWhileR(f: Short => Boolean): ofShort
def endsWith(that: Array[Short]): Boolean
def exists(f: Short => Boolean): Boolean
def filter(f: Short => Boolean): ofShort
def filterNot(f: Short => Boolean): ofShort
def find(f: Short => Boolean): Option[Short]
def flatMap[A](f: Short => Array[A])(implicit A: ClassTag[A]): Array[A]
def flatMapBoolean(f: Short => Array[Boolean]): ofBoolean
def flatMapByte(f: Short => Array[Byte]): ofByte
def flatMapChar(f: Short => Array[Char]): ofChar
def flatMapDouble(f: Short => Array[Double]): ofDouble
def flatMapFloat(f: Short => Array[Float]): ofFloat
def flatMapInt(f: Short => Array[Int]): ofInt
def flatMapLong(f: Short => Array[Long]): ofLong
def flatMapRef[Y <: AnyRef : ClassTag](f: Short => Array[Y]): ofRef[Y]
def flatMapShort(f: Short => Array[Short]): ofShort
def foldLeft[A](z: A)(f: (A, Short) => A)(implicit A: ClassTag[A]): A
def foldLeftBoolean(z: Boolean)(f: (Boolean, Short) => Boolean): Boolean
def foldLeftByte(z: Byte)(f: (Byte, Short) => Byte): Byte
def foldLeftChar(z: Char)(f: (Char, Short) => Char): Char
def foldLeftDouble(z: Double)(f: (Double, Short) => Double): Double
def foldLeftFloat(z: Float)(f: (Float, Short) => Float): Float
def foldLeftInt(z: Int)(f: (Int, Short) => Int): Int
def foldLeftLong(z: Long)(f: (Long, Short) => Long): Long
def foldLeftRef[Y](z: Y)(f: (Y, Short) => Y): Y
def foldLeftShort(z: Short)(f: (Short, Short) => Short): Short
def foldMapLeft1[A](z: Short => A)(f: (A, Short) => A)(implicit A: ClassTag[A]): Option[A]
def foldMapLeft1Boolean(z: Short => Boolean)(f: (Boolean, Short) => Boolean): Option[Boolean]
def foldMapLeft1Byte(z: Short => Byte)(f: (Byte, Short) => Byte): Option[Byte]
def foldMapLeft1Char(z: Short => Char)(f: (Char, Short) => Char): Option[Char]
def foldMapLeft1Double(z: Short => Double)(f: (Double, Short) => Double): Option[Double]
def foldMapLeft1Float(z: Short => Float)(f: (Float, Short) => Float): Option[Float]
def foldMapLeft1Int(z: Short => Int)(f: (Int, Short) => Int): Option[Int]
def foldMapLeft1Long(z: Short => Long)(f: (Long, Short) => Long): Option[Long]
def foldMapLeft1Ref[Y](z: Short => Y)(f: (Y, Short) => Y): Option[Y]
def foldMapLeft1Short(z: Short => Short)(f: (Short, Short) => Short): Option[Short]
def foldMapRight1[A](z: Short => A)(f: (Short, A) => A)(implicit A: ClassTag[A]): Option[A]
def foldMapRight1Boolean(z: Short => Boolean)(f: (Short, Boolean) => Boolean): Option[Boolean]
def foldMapRight1Byte(z: Short => Byte)(f: (Short, Byte) => Byte): Option[Byte]
def foldMapRight1Char(z: Short => Char)(f: (Short, Char) => Char): Option[Char]
def foldMapRight1Double(z: Short => Double)(f: (Short, Double) => Double): Option[Double]
def foldMapRight1Float(z: Short => Float)(f: (Short, Float) => Float): Option[Float]
def foldMapRight1Int(z: Short => Int)(f: (Short, Int) => Int): Option[Int]
def foldMapRight1Long(z: Short => Long)(f: (Short, Long) => Long): Option[Long]
def foldMapRight1Ref[Y](z: Short => Y)(f: (Short, Y) => Y): Option[Y]
def foldMapRight1Short(z: Short => Short)(f: (Short, Short) => Short): Option[Short]
def foldRight[A](z: A)(f: (Short, A) => A)(implicit A: ClassTag[A]): A
def foldRightBoolean(z: Boolean)(f: (Short, Boolean) => Boolean): Boolean
def foldRightByte(z: Byte)(f: (Short, Byte) => Byte): Byte
def foldRightChar(z: Char)(f: (Short, Char) => Char): Char
def foldRightDouble(z: Double)(f: (Short, Double) => Double): Double
def foldRightFloat(z: Float)(f: (Short, Float) => Float): Float
def foldRightInt(z: Int)(f: (Short, Int) => Int): Int
def foldRightLong(z: Long)(f: (Short, Long) => Long): Long
def foldRightRef[Y](z: Y)(f: (Short, Y) => Y): Y
def foldRightShort(z: Short)(f: (Short, Short) => Short): Short
def forall(f: Short => Boolean): Boolean
def foreach[U](f: Short => U): Unit
def groupBy[A](f: Short => A): Map[A, ofShort]
def grouped(n: Int): Iterator[ofShort]
def indexOf(elem: Short): Option[Int]
def initOption: Option[ofShort]
def inits: Iterator[ofShort]
def interleave(that: ofShort): ofShort
def intersperse(a: Short): ofShort
def lastIndexOf(elem: Short): Option[Int]
def length: Int
def map[A](f: Short => A)(implicit A: ClassTag[A]): Array[A]
def mapBoolean(f: Short => Boolean): ofBoolean
def mapByte(f: Short => Byte): ofByte
def mapChar(f: Short => Char): ofChar
def mapDouble(f: Short => Double): ofDouble
def mapFloat(f: Short => Float): ofFloat
def mapInt(f: Short => Int): ofInt
def mapLong(f: Short => Long): ofLong
def mapRef[Y <: AnyRef : ClassTag](f: Short => Y): ofRef[Y]
def mapShort(f: Short => Short): ofShort
def max: Option[Short]
def maxBy[A](f: Short => A)(implicit A: Ordering[A]): Option[Short]
def min: Option[Short]
def minBy[A](f: Short => A)(implicit A: Ordering[A]): Option[Short]
def minmax: Option[(Short, Short)]
def mkString(start: String, sep: String, end: String): String
def mkString(sep: String): String
def mkString: String
def partition(f: Short => Boolean): (ofShort, ofShort)
def product: Int
def productDouble: Double
def productLong: Long
def reduceLeftOption(f: (Short, Short) => Short): Option[Short]
def reduceRightOption(f: (Short, Short) => Short): Option[Short]
def reverseMap[A](f: Short => A)(implicit A: ClassTag[A]): Array[A]
def reverseMapBoolean(f: Short => Boolean): ofBoolean
def reverseMapByte(f: Short => Byte): ofByte
def reverseMapChar(f: Short => Char): ofChar
def reverseMapDouble(f: Short => Double): ofDouble
def reverseMapFloat(f: Short => Float): ofFloat
def reverseMapInt(f: Short => Int): ofInt
def reverseMapLong(f: Short => Long): ofLong
def reverseMapRef[Y <: AnyRef : ClassTag](f: Short => Y): ofRef[Y]
def reverseMapShort(f: Short => Short): ofShort
def reverse_:::(prefix: ofShort): ofShort
def scanLeft[A](z: A)(f: (A, Short) => A)(implicit A: ClassTag[A]): Array[A]
def scanLeft1(f: (Short, Short) => Short): ofShort
def scanLeftBoolean(z: Boolean)(f: (Boolean, Short) => Boolean): ofBoolean
def scanLeftByte(z: Byte)(f: (Byte, Short) => Byte): ofByte
def scanLeftChar(z: Char)(f: (Char, Short) => Char): ofChar
def scanLeftDouble(z: Double)(f: (Double, Short) => Double): ofDouble
def scanLeftFloat(z: Float)(f: (Float, Short) => Float): ofFloat
def scanLeftInt(z: Int)(f: (Int, Short) => Int): ofInt
def scanLeftLong(z: Long)(f: (Long, Short) => Long): ofLong
def scanLeftRef[Y <: AnyRef : ClassTag](z: Y)(f: (Y, Short) => Y): ofRef[Y]
def scanLeftShort(z: Short)(f: (Short, Short) => Short): ofShort
def scanRight[A](z: A)(f: (Short, A) => A)(implicit A: ClassTag[A]): Array[A]
def scanRight1(f: (Short, Short) => Short): ofShort
def scanRightBoolean(z: Boolean)(f: (Short, Boolean) => Boolean): ofBoolean
def scanRightByte(z: Byte)(f: (Short, Byte) => Byte): ofByte
def scanRightChar(z: Char)(f: (Short, Char) => Char): ofChar
def scanRightDouble(z: Double)(f: (Short, Double) => Double): ofDouble
def scanRightFloat(z: Float)(f: (Short, Float) => Float): ofFloat
def scanRightInt(z: Int)(f: (Short, Int) => Int): ofInt
def scanRightLong(z: Long)(f: (Short, Long) => Long): ofLong
def scanRightRef[Y <: AnyRef : ClassTag](z: Y)(f: (Short, Y) => Y): ofRef[Y]
def scanRightShort(z: Short)(f: (Short, Short) => Short): ofShort
def size: Int
def slice(from: Int, until: Int): ofShort
def sliding(_size: Int, step: Int): Iterator[ofShort]
def span(f: Short => Boolean): (ofShort, ofShort)
def splitAt(n: Int): (ofShort, ofShort)
def startsWith(that: Array[Short], offset: Int): Boolean
def sum: Int
def tailOption: Option[ofShort]
def tails: Iterator[ofShort]
def take(n: Int): ofShort
def takeRight(n: Int): ofShort
def takeWhile(f: Short => Boolean): ofShort
def takeWhileR(f: Short => Boolean): ofShort
def toArray: Array[Short]
def toList: List[Short]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def updated(index: Int, elem: Short): ofShort
def withFilter(f: Short => Boolean): WithFilterShort

Concrete fields

val self: Array[Short]