|
Scala Library
|
|
scala/specialized.scala]
class
specialized(types : java.lang.String)
extends StaticAnnotation
class MyList[@specialized T] ...
Type T can be specialized on a subset of the primitive types by
specifying a comma-separated string argument:
class MyList[@specialized("Int, Double, Boolean") T] ..
Only primitive types are supported and no name resolution is currently
done on the string arguments (meaning imports and type aliases are
not resolved).| Additional Constructor Summary | |
def
|
this : specialized |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Additional Constructor Details |
|
Scala Library
|
|