setLimit method

void setLimit (int limit)

Controls the maximum number of results that are returned.

Setting a negative limit denotes retrieval without a limit. The default limit is {@code 100}, with a maximum of {@code 1000} results being returned at a time.

Implementation

void setLimit(int limit) {
  _limit = limit;
}