SerialVersionUID
scala.SerialVersionUID
class SerialVersionUID(value: Long) extends 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.
Attributes
- See also
- Source
- SerialVersionUID.scala
- Graph
-
- Supertypes
-
trait ConstantAnnotationtrait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
In this article