code: public long getTake(long maxTake) {
  		if (_take == null)
  			return maxTake;
  		if (_take < 0)
  			return 0;
  		if (_take > maxTake)
  			return maxTake;
  		return _take;
  	}
docs: Gets the number of items to return in a page.
  
  @param maxTake the maximum number of items to return.
  @return the number of items to return.