PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |
com.ibm.portal
Interface Countable
- All Known Subinterfaces:
- CountableIterableListModel<E>, CountableIterablePagedListModel<E>, CountableListModel<E>, RatingModel<R>, RatingModelController<R,M>, ResourceModel<R>, ResourceModelController<R,M>, SortedLocalized<T>, SortedLocalizedListModel<T>, TagModel<T>, TagModelController<T,M>
-
public interface Countable
Optional interface for collection-like models that want to expose the number
of elements stored.
- Since:
- 7.0
Method Summary
|
int |
size()
Return the number of elements kept by the model. |
size
int size()
throws ModelException
- Returns the number of elements kept by the model. If more than
Integer.MAX_VALUE elements are held, Integer.MAX_VALUE is returned.
- Returns:
- Non-negative number of elements.
- Throws:
- ModelException - In case an exception occurs accessing the elements.
PREV CLASS
NEXT CLASS
|
|
SUMMARY: NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD |