|
Scala Library Documentation
|
|
scala/runtime/BoxedAnyArray.scala]
final
class
BoxedAnyArray(val length : Int)
extends BoxedArraynew Array[T](length) where T
is a type variable.| Method Summary | |
def
|
apply
(index : Int) : Any
The element at given index
|
override def
|
copyFrom (src : AnyRef, from : Int, to : Int, len : Int) : Unit |
override def
|
copyTo (from : Int, dest : AnyRef, to : Int, len : Int) : Unit |
override def
|
equals (other : Any) : Boolean |
override final def
|
filter
(p : (Any) => Boolean) : BoxedArray
Returns all the elements of this sequence that satisfy the
predicate
p. The order of the elements is preserved. |
override def
|
hashCode : Int |
protected override def
|
newArray (length : Int, elements : Iterator[Any]) : BoxedAnyArray |
override def
|
subArray (start : Int, end : Int) : AnyRef |
def
|
unbox (elemClass : java.lang.Class) : AnyRef |
def
|
unbox (elemTag : java.lang.String) : AnyRef |
def
|
update
(index : Int, _elem : Any) : Unit
Update element at given index
|
def
|
value
: AnyRef
The underlying array value
|
| Methods inherited from BoxedArray | |
| isDefinedAt, elements, copyToArray, map, flatMap, ++, zip, zipWithIndex, indices, takeWhile, dropWhile, deepToString, deepMkString, deepMkString, deepEquals, stringPrefix, projection |
| Methods inherited from Array0 | |
| slice, take, drop, reverse |
| Methods inherited from Mutable | |
| readOnly |
| Methods inherited from RandomAccessSeq | |
| patch, toStream, safeIs |
| Methods inherited from Seq | |
| lengthCompare, size, isEmpty, concat, last, lastOption, headOption, lastIndexOf, contains, subseq, toArray, equalsWith, startsWith, endsWith, indexOf, containsSlice |
| Methods inherited from Collection | |
| toString |
| Methods inherited from Iterable | |
| partition, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, mkString, addString, addString, hasDefiniteSize |
| Methods inherited from PartialFunction | |
| orElse, andThen |
| Methods inherited from Function1 | |
| compose |
| Methods inherited from AnyRef | |
| getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
def
unbox(elemTag : java.lang.String) : AnyRef
def
unbox(elemClass : java.lang.Class) : AnyRef
override
def
hashCode : Int
def
value : AnyRef
override final
def
filter(p : (Any) => Boolean) : BoxedArray
p. The order of the elements is preserved.p - the predicate used to filter the list.p.protected override
def
newArray(length : Int, elements : Iterator[Any]) : BoxedAnyArray
|
Scala Library Documentation
|
|