function (predicate) {
    var lists = new ArrayList;
    var arrays = _.partition(this, predicate);
    arrays.forEach(function (arr) {
      var list = new ArrayList;
      lists.push(list.add(arr));
    });
    return lists;
  }
function (predicate) {
    var lists = new ArrayList;
    var arrays = _.partition(this, predicate);
    arrays.forEach(function (arr) {
      var list = new ArrayList;
      lists.push(list.add(arr));
    });
    return lists;
  }
function ( predicate ) { var lists = new ArrayList ; var arrays = _ . partition ( this , predicate ) ; arrays . forEach ( function ( arr ) { var list = new ArrayList ; lists . push ( list . add ( arr ) ) ; } ) ; return lists ; }
Split the list into two lists

@param predicate
@returns {ArrayList}
Split the list into two lists