public interface RowLimitMutator
Modifier and Type | Method and Description |
---|---|
int |
setRowLimit(int newLimit)
Mutate the row limit of this collection, it returns the old row limit.
|
int setRowLimit(int newLimit)
newLimit
- the new limit of this collection to set to.
A positive number: the maximum number of rows the collection can hold.
CollectionModel.UNKNOWN_ROW_LIMIT: row limit is unknown.
CollectionModel.UNLIMITED_ROW: there is no limitIllegalArgumentException
- if newLimit is 0 or any negative number
other than CollectionModel.UNKNOWN_ROW_LIMIT and CollectionModel.UNLIMITED_ROW.Copyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.