/* Generated from Java with JSweet 2.3.7 - http://www.jsweet.org */
/**
 * Constructor.
 * @class
 * @author eric.wittmann@gmail.com
 */
var ResolverOptions = /** @class */ (function () {
    function ResolverOptions() {
        this.options = ([]);
    }
    ResolverOptions.of = function () {
        var options = [];
        for (var _i = 0; _i < arguments.length; _i++) {
            options[_i] = arguments[_i];
        }
        var rval = new ResolverOptions();
        if (options != null) {
            for (var index134 = 0; index134 < options.length; index134++) {
                var option = options[index134];
                {
                    rval.add(option);
                }
            }
        }
        return rval;
    };
    ResolverOptions.prototype.add = function (option) {
        /* add */ (function (s, e) { if (s.indexOf(e) == -1) {
            s.push(e);
            return true;
        }
        else {
            return false;
        } })(this.options, option);
    };
    ResolverOptions.prototype.contains = function (option) {
        return /* contains */ (this.options.indexOf((option)) >= 0);
    };
    return ResolverOptions;
}());
export { ResolverOptions };
ResolverOptions["__class"] = "io.apicurio.datamodels.core.util.ResolverOptions";
//# sourceMappingURL=ResolverOptions.js.map