Packages

a

scala

SerialVersionUID

class SerialVersionUID extends Annotation with ConstantAnnotation

Annotation for specifying the serialVersionUID field of a (serializable) class.

On the JVM, a class with this annotation will receive a private, static, and final field called serialVersionUID with the provided value, which the JVM's serialization mechanism uses to determine serialization compatibility between different versions of a class.

Annotations
@deprecatedInheritance()
Source
SerialVersionUID.scala
See also

java.io.Serializable

Serializable

Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SerialVersionUID
  2. ConstantAnnotation
  3. StaticAnnotation
  4. Annotation
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SerialVersionUID(value: Long)