Packages

c

scala.reflect

AnyValManifest

abstract class AnyValManifest[T <: AnyVal] extends Manifest[T] with Equals

Annotations
@SerialVersionUID()
Source
Manifest.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnyValManifest
  2. Manifest
  3. ClassTag
  4. Equals
  5. ClassManifestDeprecatedApis
  6. OptManifest
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnyValManifest(toString: String)

Abstract Value Members

  1. abstract def runtimeClass: Class[_]

    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.

    Definition Classes
    ClassTag

Concrete Value Members

  1. def <:<(that: ClassManifest[_]): 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.

    Definition Classes
    AnyValManifestClassManifestDeprecatedApis
  2. def arrayManifest: Manifest[Array[T]]
    Definition Classes
    ManifestClassManifestDeprecatedApis
  3. def canEqual(other: Any): Boolean

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass.

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.

    returns

    true if this instance can possibly equal that, otherwise false

    Definition Classes
    AnyValManifestManifestClassTagEqualsClassManifestDeprecatedApis
  4. def equals(that: Any): Boolean

    Note: testing for erasure here is important, as it is many times faster than <:< and rules out most comparisons.

    Note: testing for erasure here is important, as it is many times faster than <:< and rules out most comparisons.

    Definition Classes
    AnyValManifestManifestClassTagEquals → AnyRef → Any
  5. val hashCode: Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

    the hash code value for this object.

  6. 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

    Definition Classes
    ClassTagClassManifestDeprecatedApis
  7. val toString: String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

    Definition Classes
    AnyValManifestClassTag → AnyRef → Any
  8. def typeArguments: List[Manifest[_]]
    Definition Classes
    ManifestClassManifestDeprecatedApis
  9. 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].

    Definition Classes
    ClassTag
  10. def wrap: ClassTag[Array[T]]

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

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

    Definition Classes
    ClassTag

Deprecated Value Members

  1. def >:>(that: ClassManifest[_]): 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.

    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use scala.reflect.runtime.universe.TypeTag for subtype checking instead

  2. def erasure: Class[_]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use runtimeClass instead

  3. def newArray2(len: Int): Array[Array[T]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.newArray instead

  4. def newArray3(len: Int): Array[Array[Array[T]]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.wrap.newArray instead

  5. def newArray4(len: Int): Array[Array[Array[Array[T]]]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.wrap.wrap.newArray instead

  6. def newArray5(len: Int): Array[Array[Array[Array[Array[T]]]]]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use wrap.wrap.wrap.wrap.newArray instead

  7. def newArrayBuilder(): ArrayBuilder[T]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use ArrayBuilder.make(this) instead

  8. def newWrappedArray(len: Int): WrappedArray[T]
    Definition Classes
    ClassManifestDeprecatedApis
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) create WrappedArray directly instead