//把P赋值给S的前驱,如1
a -> prior = p;
//把P-> next 赋值给S的后继,如2
a -> next = p -> next;
//把s赋值给p->next的前驱,如3
p -> next -> prior = s;
//把s赋值给p的后继,如4
p -> next = s
//把P赋值给S的前驱,如1
a -> prior = p;
//把P-> next 赋值给S的后继,如2
a -> next = p -> next;
//把s赋值给p->next的前驱,如3
p -> next -> prior = s;
//把s赋值给p的后继,如4
p -> next = s