1.static class Node<K,V> implements Map.Entry<K,V> { public final boolean equals(Object o) { if (o == this) return true; if (o instanceof Map.Entry) { Map.Entry e = (Map.Entry)o; if (Objects.equals(key, e.getKey()) && Objects.equals(value, e.getValue())) return true; } return false; } } 上面的equals方法中,在判断了(o instance Map.Entry)后,为什么又把o对象赋值给e对象,然后只是用e对象执行equals方法?