package org.simantics.scl.compiler.types.util; import org.simantics.scl.compiler.types.Skeletons; import org.simantics.scl.compiler.types.Type; import gnu.trove.map.hash.THashMap; public class SkeletonKeyMap extends THashMap { @Override protected int hash(Object notnull) { return ((Type)notnull).hashCode(); } @Override protected boolean equals(Object notnull, Object two) { return Skeletons.equalSkeletons((Type)notnull, (Type)two); } }