GeoKnow/Jassa-Core

View on GitHub
lib/util/SetUtils.js

Summary

Maintainability
A
0 mins
Test Coverage
var HashSet = require('./collection/HashSet');

var SetUtils = {
    arrayToSet: function(arr) {
        var result = new HashSet();
        result.addAll(arr);

        return result;
    }

};

module.exports = SetUtils;