blob: 0d427bd7d22d458f302d01fe429045760a21425b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2002-2009, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
// $Id: BoxedDoubleArray.scala 17680 2009-05-08 16:33:15Z odersky $
package scala.runtime
import scala.reflect.ClassManifest
@serializable
final class BoxedUnitArray(val value: Array[Unit]) extends BoxedArray[Unit] {
def elemManifest = ClassManifest.Unit
def length: Int = value.length
def apply(index: Int): Unit = value(index)
def update(index: Int, elem: Unit) {
value(index) = elem
}
def unbox(elemClass: Class[_]): AnyRef = value
}
|