The simplest way is to extend HashMap to your own class, and record the changes: class RecordHashMap extends HashMap { private List changes;
確定! 回上一頁