current position:Home>Idea automatically generates serialization ID

Idea automatically generates serialization ID

2022-05-15 07:40:57Time is an antidote

The problem background

Transmission objects involving the network need to be serialized , You also need a serialization ID,IDEA Automatic generation can be set ID, The configuration is as follows

IDEA Generate serialization ID

1 Ctrl+Alt+s Shortcut key to open the setting interface

2 choice Editor→Inspections, On the hook serialVersionUID

3 Each time you implement the serialization interface , You can click the class name with the mouse ,Alt+Enter Shortcut key import serialization ID

4 Generate ID result

summary

  • Make one up by yourself UID It's OK, too




As a programmer 129 An article , Write one line of lyrics at a time and record , Look at how many songs there are in life ,wahahaha …

Lyric: I'll be in a daze

copyright notice
author[Time is an antidote],Please bring the original link to reprint, thank you.
https://en.chowdera.com/2022/131/202205102128318904.html

Random recommended