6、K,V> implements Map.Entry{ final int hash; final K key; V value; Node next; Node(int hash,K key,V value,Node next){ this.hash = hash; this.key = key; this.value = value; this.next = next;
7、 } public final KgetKey() { return key;} public final VgetValue() { return value;} public final StringtoString(){ return key + "=" + value;} public final int hashCode(){ return Objects.hashCode(key)^Objects.hashCode(value);