| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
final class BoxedShortArray(val value : Array[Short])
extends
BoxedArray
def this(value : Array[Short])
|
| first |
def first
Returns the first element of this list
[details]
|
A | Seq |
| firstOption |
def firstOption
Returns as an option the first element of this list or
None if list is empty
[details]
|
Option[A] | Seq |
| force |
override def force
|
Array[A] | Array0 |
| hasDefiniteSize |
def hasDefiniteSize
returns true iff this collection has a bound size
[details]
Many APIs in this trait will not work on collections of
unbound sizes.
|
Boolean | Iterable |
| headOption |
def headOption
|
Option[A] | Seq |
| indices |
def indices
Returns an array that contains all indices of this array
|
Array[Int] | BoxedArray |
| isEmpty |
override def isEmpty
Returns true if length == 0
|
Boolean | Seq |
| last |
def last
Returns the last element of this list
[details]
|
A | Seq |
| lastOption |
def lastOption
Returns as an option the last element of this list or
None if list is empty
[details]
|
Option[A] | Seq |
| length |
def length
The length of the array
|
Int | |
| mkString |
def mkString
Converts a collection into a flat
String by each element's toString method
[details]
|
String | Iterable |
| projection |
override def projection
returns a projection that can be used to call non-strict
filter,
map, and flatMap methods that build projections
of the collection
|
Projection[Any] | BoxedArray |
| readOnly |
def readOnly
|
RandomAccessSeq[A] | Mutable |
| reverse |
override def reverse
A sequence consisting of all elements of this sequence in reverse order
|
Projection[A] | Array0 |
| size |
def size
should always be
length
|
Int | Seq |
| stringPrefix |
override final def stringPrefix
Defines the prefix of this object's
toString representation
|
String | BoxedArray |
| toList |
def toList
Returns a list containing all of the elements in this iterable object
[details]
|
List[A] | Iterable |
| toSeq |
override def toSeq
Overridden for efficiency
[details]
|
Seq[A] | Seq |
| toStream |
override def toStream
Returns a stream containing all of the elements in this iterable object
[details]
|
Stream[A] | RandomAccessSeq |
| != |
final def !=(arg0 : Any)
|
Boolean | Any |
| != |
final def !=(arg0 : Object)
|
Boolean | AnyRef |
| ++ |
override final def ++[b >: Any](that : Iterable[b])
Appends two iterable objects
|
Array[b] | BoxedArray |
| /: |
def /:[B](z : B)(op : (B, A) => B)
Similar to
foldLeft but can be used as
an operator with the order of list and zero arguments reversed
[details]
That is,
z /: xs is the same as xs foldLeft z
|
B | Iterable |
| :\ |
def :\[B](z : B)(op : (A, B) => B)
An alias for
foldRight
[details]
That is,
xs :\ z is the same as xs foldRight z
|
B | Iterable |
| == |
final def ==(arg0 : Object)
|
Boolean | AnyRef |
| == |
final def ==(arg0 : Any)
|
Boolean | Any |
| addString |
def addString(buf : StringBuilder, sep : String)
|
StringBuilder | Iterable |
| addString |
def addString(buf : StringBuilder, start : String, sep : String, end : String)
Write all elements of this string into given string builder
[details]
|
StringBuilder | Iterable |
| andThen |
override def andThen[C](k : (B) => C)
(f andThen g)(x) == g(f(x))
|
PartialFunction[A, C] | PartialFunction |
| apply |
def apply(index : Int)
The element at given index
|
Any | |
| asInstanceOf |
final def asInstanceOf[T0]
|
T0 | Any |
| clone |
protected def clone
|
Object | AnyRef |
| compose |
def compose[A](g : (A) => T1)
(f compose g)(x) == f(g(x))
|
(A) => R | Function1 |
| concat |
override def concat[B >: A](that : Iterable[B])
Appends two iterable objects
[details]
|
Seq[B] | Seq |
| contains |
def contains(elem : Any)
Tests if the given value
elem is a member of this
sequence
[details]
|
Boolean | Seq |
| containsSlice |
def containsSlice[B](that : Seq[B])
Is
that a slice in this?
|
Boolean | Seq |
| copyFrom |
def copyFrom(src : Object, from : Int, to : Int, len : Int)
|
Unit | BoxedArray |
| copyTo |
def copyTo(from : Int, dest : Object, to : Int, len : Int)
|
Unit | BoxedArray |
| copyToArray |
override def copyToArray[B](xs : Array[B], start : Int)
Fills the given array
xs with the elements of
this sequence starting at position start
[details]
|
Unit | BoxedArray |
| copyToBuffer |
def copyToBuffer[B >: A](dest : Buffer[B])
Copy all elements to a given buffer
[details]
|
Unit | Iterable |
| deepEquals |
final def deepEquals(that : Any)
|
Boolean | BoxedArray |
| deepMkString |
final def deepMkString(sep : String)
|
String | BoxedArray |
| deepMkString |
final def deepMkString(start : String, sep : String, end : String)
|
String | BoxedArray |
| deepToString |
final def deepToString
|
String | BoxedArray |
| drop |
override def drop(from : Int)
Returns this sequence without its
n first elements
If this sequence has less than n elements, the empty
sequence is returned
[details]
(non-strict)
|
Projection[A] | Array0 |
| dropWhile |
override def dropWhile(p : (A) => Boolean)
Returns the longest suffix of this sequence whose first element
does not satisfy the predicate
p
[details]
|
Projection[A] | Array0 |
| elements |
override def elements
Creates a new iterator over all elements contained in this
object
[details]
|
Iterator[Any] | BoxedArray |
| endsWith |
def endsWith[B](that : Seq[B])
[details]
|
Boolean | Seq |
| eq |
final def eq(arg0 : Object)
|
Boolean | AnyRef |
| equals |
override def equals(other : Any)
|
Boolean | |
| equalsWith |
def equalsWith[B](that : Seq[B])(f : (A, B) => Boolean)
|
Boolean | Seq |
| exists |
def exists(p : (A) => Boolean)
Apply a predicate
p to all elements of this
iterable object and return true, iff there is at least one
element for which p yields true
[details]
|
Boolean | Iterable |
| filter |
override final def filter(p : (Any) => Boolean)
Returns all the elements of this sequence that satisfy the
predicate
p
[details]
The order of the elements is preserved.
|
BoxedArray | |
| finalize |
protected def finalize
|
Unit | AnyRef |
| find |
def find(p : (A) => Boolean)
Find and return the first element of the iterable object satisfying a
predicate, if any
[details]
|
Option[A] | Iterable |
| findIndexOf |
def findIndexOf(p : (A) => Boolean)
Returns index of the first element satisying a predicate, or -1
[details]
|
Int | Iterable |
| flatMap |
override final def flatMap[b](f : (Any) => Iterable[b])
Applies the given function
f to each element of
this sequence, then concatenates the results
[details]
|
Array[b] | BoxedArray |
| foldLeft |
def foldLeft[B](z : B)(op : (B, A) => B)
Combines the elements of this iterable object together using the binary
function
f, from left to right, and starting with
the value z
[details]
|
B | Iterable |
| foldRight |
def foldRight[B](z : B)(op : (A, B) => B)
Combines the elements of this list together using the binary
function
f, from right to left, and starting with
the value z
[details]
|
B | Iterable |
| forall |
def forall(p : (A) => Boolean)
Apply a predicate
p to all elements of this
iterable object and return true, iff the predicate yields
true for all elements
[details]
|
Boolean | Iterable |
| foreach |
def foreach(f : (A) => Unit)
Apply a function
f to all elements of this
iterable object
[details]
|
Unit | Iterable |
| getClass |
final def getClass
|
Class[Any] | AnyRef |
| hashCode |
override def hashCode
|
Int | |
| indexOf |
def indexOf[B >: A](elem : B)
Returns the index of the first occurence of the specified
object in this iterable object
[details]
|
Int | Iterable |
| indexOf |
def indexOf[B >: A](that : Seq[B])
[details]
|
Int | Seq |
| isDefinedAt |
override def isDefinedAt(x : Int)
Is this partial function defined for the index
x?
[details]
|
Boolean | BoxedArray |
| isInstanceOf |
final def isInstanceOf[T0]
|
Boolean | Any |
| lastIndexOf |
def lastIndexOf[B >: A](elem : B)
Returns the index of the last occurence of the specified element
in this sequence, or -1 if the sequence does not contain this element
[details]
|
Int | Seq |
| lengthCompare |
def lengthCompare(l : Int)
Returns length - l
[details]
This method is used by matching streams against right-ignoring (...,_) patterns.
Lazy sequences should override this method if length forces evaluation of the stream.
|
Int | Seq |
| map |
override final def map[b](f : (Any) => b)
Returns the sequence resulting from applying the given function
f to each element of this sequence
[details]
|
Array[b] | BoxedArray |
| mkString |
def mkString(sep : String)
Returns a string representation of this iterable object
[details]
The string
representations of elements (w.r.t. the method
toString())
are separated by the string sep.
|
String | Iterable |
| mkString |
def mkString(start : String, sep : String, end : String)
Returns a string representation of this iterable object
[details]
The resulting string
begins with the string
start and is finished by the string
end. Inside, the string representations of elements (w.r.t.
the method toString()) are separated by the string
sep.
|
String | Iterable |
| ne |
final def ne(arg0 : Object)
|
Boolean | AnyRef |
| newArray |
protected override def newArray(length : Int, elements : Iterator[Any])
|
BoxedShortArray | |
| notify |
final def notify
|
Unit | AnyRef |
| notifyAll |
final def notifyAll
|
Unit | AnyRef |
| orElse |
def orElse[A1 <: A, B1 >: B](that : PartialFunction[A1, B1])
|
PartialFunction[A1, B1] | PartialFunction |
| partition |
def partition(p : (A) => Boolean)
Partitions this iterable in two iterables according to a predicate
[details]
|
(Iterable[A], Iterable[A]) | Iterable |
| patch |
def patch[B >: A](from0 : Int, patch0 : RandomAccessSeq[B], replaced0 : Int)
insert segment
patch into this sequence at from
replacing replaced elements
[details]
The result is a projection.
|
Projection[B] | RandomAccessSeq |
| reduceLeft |
def reduceLeft[B >: A](op : (B, A) => B)
Combines the elements of this iterable object together using the binary
operator
op, from left to right
[details]
|
B | Iterable |
| reduceRight |
def reduceRight[B >: A](op : (A, B) => B)
Combines the elements of this iterable object together using the binary
operator
op, from right to left
[details]
|
B | Iterable |
| safeIs |
final def safeIs(idx : Int, a : Any)
will return false if index is out of bounds
|
Boolean | RandomAccessSeq |
| sameElements |
def sameElements[B >: A](that : Iterable[B])
Checks if the other iterable object contains the same elements
[details]
|
Boolean | Iterable |
| slice |
override def slice(from : Int, until : Int)
A sub-sequence starting at index
from
and ending (non-inclusive) at index until (non-strict)
[details]
|
Projection[A] | Array0 |
| slice |
def slice(from : Int)
A sub-sequence starting at index
from
and extending up to the length of the current sequence (non-strict)
[details]
|
Seq[A] | Seq |
| startsWith |
def startsWith[B](that : Seq[B])
[details]
|
Boolean | Seq |
| subArray |
def subArray(start : Int, end : Int)
|
Array[Short] | |
| subseq |
def subseq(from : Int, end : Int)
Returns a subsequence starting from index
from
consisting of len elements
[details]
|
Seq[A] | Seq |
| synchronized |
final def synchronized[T0](arg0 : T0)
|
T0 | AnyRef |
| take |
override def take(until : Int)
Returns a sequence consisting only over the first
n
elements of this sequence, or else the whole sequence, if it has less
than n elements
[details]
(non-strict)
|
Projection[A] | Array0 |
| takeWhile |
override def takeWhile(p : (A) => Boolean)
Returns the longest prefix of this sequence whose elements satisfy
the predicate
p
[details]
|
Projection[A] | Array0 |
| toArray |
override def toArray[B >: A]
Converts this sequence to a fresh Array with
length elements
|
Array[B] | Seq |
| toString |
override def toString
|
String | Collection |
| unbox |
def unbox(elemClass : Class[Any])
|
Object | |
| unbox |
def unbox(elemTag : String)
|
Object | |
| update |
def update(index : Int, elem : Any)
Update element at given index
|
Unit | |
| wait |
final def wait
|
Unit | AnyRef |
| wait |
final def wait(arg0 : Long)
|
Unit | AnyRef |
| wait |
final def wait(arg0 : Long, arg1 : Int)
|
Unit | AnyRef |
| zip |
final def zip[b](that : Array[b])
|
Array[(Any, b)] | BoxedArray |
| zipWithIndex |
final def zipWithIndex
|
Array[(Any, Int)] | BoxedArray |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |