javascript.util is a port of selected parts of java.util to JavaScript which main purpose is to ease porting Java code to JavaScript.
javajavascriptutilcollection
https://bjornharrtell.github.io/javascript.util/doc