1 package org.simantics.scl.compiler.types.util;
3 import org.simantics.scl.compiler.types.Skeletons;
4 import org.simantics.scl.compiler.types.Type;
6 import gnu.trove.map.hash.THashMap;
8 public class SkeletonKeyMap<T> extends THashMap<Type,T> {
10 protected int hash(Object notnull) {
11 return ((Type)notnull).hashCode();
15 protected boolean equals(Object notnull, Object two) {
16 return Skeletons.equalSkeletons((Type)notnull, (Type)two);