scala

class specialized

[source: scala/specialized.scala]

class specialized(types : java.lang.String)
extends StaticAnnotation
Annotate type parameters on which code should be automatically specialized. For example: 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).
Since
2.8
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
def this : specialized