public @Nullable <T> T get(@NotNull Key<T> key, Object element) {
    Map map = (Map)myMap.get(key);
    if (map == null) {
      return null;
    }
    else {
      return (T)map.get(element);
    }
  }
public @Nullable <T> T get(@NotNull Key<T> key, Object element)