@SuppressWarnings("unchecked")
	public void copyValues(GValuesMap otherMap) {
		for (AbstractValue<?> v : valuesMap.values()) {
			AbstractValue<?> otherValue = otherMap.getAbstractValue(v.getName());
			if (otherValue == null || otherValue.getClass() != v.getClass()) {
				throw new IllegalArgumentException(
					"Can't copy values from incompatable " + getClass().getSimpleName() + "s!");
			}
			v.copyValue(v.getClass().cast(otherValue));
		}
	}
Copies the values (not the AbstractValues objects, but the T values of each AbstractValue)
from the given map into this map. The given map must have exactly the same name and
AbstractValue types as this map.
@param otherMap The GValuesMap to copy values from
@throws IllegalArgumentException if the given map does not have exactly the same set of
names and types as this map
Ghidra/Framework/Docking/src/main/java/docking/widgets/values/GValuesMap.java