@Override
		public boolean equals(Object obj) {
			try {
				@SuppressWarnings("unchecked")
				Entry<K, V> that = (Entry<K, V>) obj;
				return Objects.equals(this.key, that.getKey()) &&
					Objects.equals(this.val, that.getValue());
			}
			catch (ClassCastException e) {
				return false;
			}
		}
Construct a new node

@param key the key
@param val the data
Ghidra/Framework/Generic/src/main/java/ghidra/generic/util/datastruct/TreeValueSortedMap.java