Scala Library
|
|
final
class
ofRef[T <: AnyRef](val
array : Array[T])
extends
WrappedArray[T]Value Summary | |
lazy val
|
elemManifest
: ClassManifest[T]
The manifest of the element type
|
Method Summary | |
def
|
apply
(index : Int) : T
The element at given index
|
def
|
length
: Int
The length of the array
|
def
|
update
(index : Int, elem : T) : Unit
Update element at given index
|
Methods inherited from WrappedArray | |
thisCollection, toCollection, stringPrefix, newBuilder |
Methods inherited from ArrayLike | |
deep, deepToString, deepMkString, deepMkString, deepEquals |
Methods inherited from IndexedSeq | |
companion |
Methods inherited from IndexedSeqLike | |
view, view |
Methods inherited from IndexedSeqLike | |
iterator, isEmpty, foreach, forall, exists, find, foldLeft, foldRight, reduceLeft, reduceRight, zip, zipWithIndex, slice, head, tail, last, init, take, drop, takeRight, dropRight, splitAt, takeWhile, dropWhile, span, sameElements, copyToArray, lengthCompare, segmentLength, indexWhere, lastIndexWhere, reverse, reverseIterator, startsWith, endsWith |
Methods inherited from SeqLike | |
size, isDefinedAt, prefixLength, indexWhere, findIndexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexWhere, reverseMap, reversedElements, startsWith, indexOfSeq, indexOfSeq, lastIndexOfSeq, lastIndexOfSeq, contains, union, diff, intersect, removeDuplicates, patch, updated, +:, :+, padTo, sortWith, sortWith, sortBy, toSeq, indices, hashCode, equals, toString, findLastIndexOf, equalsWith, containsSlice, projection |
Methods inherited from PartialFunction | |
orElse, andThen |
Methods inherited from Function1 | |
compose |
Methods inherited from IterableLike | |
elements, toIterable, zipAll, toStream, canEqual, first, firstOption |
Methods inherited from GenericTraversableTemplate | |
genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableLike | |
repr, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filter, filterNot, partialMap, remove, partition, groupBy, count, /:, :\, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, lastOption, copyToBuffer, copyToArray, toArray, toList, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, withFilter |
Methods inherited from AnyRef | |
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
lazy val
elemManifest : ClassManifest[T]
Method Details |
def
length : Int
Scala Library
|
|