ClassManifestDeprecatedApis

@deprecated("use scala.reflect.ClassTag instead", "2.10.0") trait ClassManifestDeprecatedApis[T] extends OptManifest[T]
trait OptManifest[T]
class Object
trait Matchable
class Any
trait ClassTag[T]

Value members

Inherited constructors

def this()
Inherited from
ClassTag
Source
ClassTag.scala

Concrete methods

protected def arrayClass[A](tp: Class[_]): Class[Array[A]]
override def canEqual(other: Any): Boolean
Definition Classes
Source
ClassManifestDeprecatedApis.scala

Deprecated methods

@deprecated("use scala.reflect.runtime.universe.TypeTag for subtype checking instead", "2.10.0")
def <:<(that: ClassTag[_]): Boolean

Tests whether the type represented by this manifest is a subtype of the type represented by that manifest, subject to the limitations described in the header.

Tests whether the type represented by this manifest is a subtype of the type represented by that manifest, subject to the limitations described in the header.

Deprecated
Source
ClassManifestDeprecatedApis.scala
@deprecated("use scala.reflect.runtime.universe.TypeTag for subtype checking instead", "2.10.0")
def >:>(that: ClassTag[_]): Boolean

Tests whether the type represented by this manifest is a supertype of the type represented by that manifest, subject to the limitations described in the header.

Tests whether the type represented by this manifest is a supertype of the type represented by that manifest, subject to the limitations described in the header.

Deprecated
Source
ClassManifestDeprecatedApis.scala
@deprecated("use wrap instead", "2.10.0")
@deprecated("use runtimeClass instead", "2.10.0")
def erasure: Class[_]
@deprecated("use wrap.newArray instead", "2.10.0")
def newArray2(len: Int): Array[Array[T]]
@deprecated("use wrap.wrap.newArray instead", "2.10.0")
def newArray3(len: Int): Array[Array[Array[T]]]
@deprecated("use wrap.wrap.wrap.newArray instead", "2.10.0")
def newArray4(len: Int): Array[Array[Array[Array[T]]]]
@deprecated("use wrap.wrap.wrap.wrap.newArray instead", "2.10.0")
@deprecated("use ArrayBuilder.make(this) instead", "2.10.0")
@deprecated("create WrappedArray directly instead", "2.10.0")
@deprecated("use scala.reflect.runtime.universe.TypeTag to capture type structure instead", "2.10.0")

Inherited methods

override def canEqual(x: Any): Boolean
Definition Classes
Inherited from
ClassTag
Source
ClassTag.scala
override def equals(x: Any): Boolean
Definition Classes
Inherited from
ClassTag
Source
ClassTag.scala
override def hashCode: Int
Definition Classes
Inherited from
ClassTag
Source
ClassTag.scala
def newArray(len: Int): Array[T]

Produces a new array with element type T and length len

Produces a new array with element type T and length len

Inherited from
ClassTag
Source
ClassTag.scala

A class representing the type U to which T would be erased.

A class representing the type U to which T would be erased. Note that there is no subtyping relationship between T and U.

Inherited from
ClassTag
Source
ClassTag.scala
override def toString: String
Definition Classes
Inherited from
ClassTag
Source
ClassTag.scala
def unapply(x: Any): Option[T]

A ClassTag[T] can serve as an extractor that matches only objects of type T.

A ClassTag[T] can serve as an extractor that matches only objects of type T.

The compiler tries to turn unchecked type tests in pattern matches into checked ones by wrapping a (_: T) type pattern as ct(_: T), where ct is the ClassTag[T] instance. Type tests necessary before calling other extractors are treated similarly. SomeExtractor(...) is turned into ct(SomeExtractor(...)) if T in SomeExtractor.unapply(x: T) is uncheckable, but we have an instance of ClassTag[T].

Inherited from
ClassTag
Source
ClassTag.scala

Produces a ClassTag that knows how to instantiate an Array[Array[T]]

Produces a ClassTag that knows how to instantiate an Array[Array[T]]

Inherited from
ClassTag
Source
ClassTag.scala