public override long[] getUserNeighborhood(long userID) { DataModel model = this.getDataModel(); TopItems.Estimator <long> estimator = new Estimator(this.getUserSimilarity(), userID, this.minSimilarity); IEnumerator <long> allUserIDs = SamplingLongPrimitiveIterator.maybeWrapIterator(model.getUserIDs(), this.getSamplingRate()); return(TopItems.getTopUsers(this.n, allUserIDs, null, estimator)); }