title: LinkedList 源码分享
author: pcx
date-created: ‘2022-07-25’
date-updated: 2022-07-26 14:49
folder: 9 - Blog │ 博客
status: In Process
completion-Date: null
version: 1.0.1
tags:
定义:LinkedList 基于 List 接口的双链链表实现。
结构特点:
该接口是一个标记型接口,即没有方法或字段,仅用于标识可序列化的语义。不实现此接口的类将不会使任何状态序列化或反序列化。可序列化类的所有子类型都是可序列化的。
[!Note]- 1.8 源码注释
If a serializable class does not explicitly declare a serialVersionUID, then the serialization runtime will calculate a default serialVersionUID value for that class based on various aspects of the class, as described in the Java