title: the undo and redo implementation in Java
body: <p>I want to ask a question about List in Java.</p>
  
  <p>It is easy to implement delete,add and search an element in a list. But how to implement the undo and redo of a list in Java?</p>
  
  <p>can anyone help me on this?</p>