public static Obj CreateMap(Obj[] keys, Obj[] vals, long count) { Obj binRel = CreateBinRel(keys, vals, count); if (!binRel.IsEmptyRel() && !binRel.IsNeMap()) { throw ErrorHandler.SoftFail("Error: map contains duplicate keys"); } return(binRel); }
public static Obj CreateMap(Obj[] keys, Obj[] vals, long count) { Obj binRel = CreateBinRel(keys, vals, count); if (!binRel.IsEmptyRel() && !binRel.IsNeMap()) { throw ErrorHandler.SoftFail("Error: map contains duplicate keys"); } return(binRel); }