com.ibm.portal.model
Interface CountableIterableListModel<E>

All Superinterfaces:
Countable, CountableListModel<E>, java.lang.Iterable<E>, IterableListModel<E>, ListModel<E>
All Known Subinterfaces:
SortedLocalized<T>, SortedLocalizedListModel<T>

public interface CountableIterableListModel<E>
extends CountableListModel<E>, IterableListModel<E>

An iterable list model that is capable of it's size.

Since:
7.0

Method Summary
 int size()
          Returns the number of elements kept by the model.
 
Methods inherited from interface com.ibm.portal.IterableListModel
iterator
 

Method Detail

size

int size()
Description copied from interface: Countable
Returns the number of elements kept by the model. If more than Integer.MAX_VALUE elements are held, Integer.MAX_VALUE is returned.

Specified by:
size in interface Countable
Returns:
Non-negative number of elements.