com.ibm.portal
Interface SearchableIterableListModel<E>

All Superinterfaces:
java.lang.Iterable<E>, ListModel<E>, com.ibm.portal.LocatorProvider<E>, com.ibm.portal.SearchableListModel<E>

public interface SearchableIterableListModel<E>
extends com.ibm.portal.SearchableListModel<E>, java.lang.Iterable<E>

A model representing a list. It supplies a method to iterate over elements of the list. This interface allows to provide ListModel implementations while maintaining compatibility with the Java 5 generics and enhanced for loop extensions. In addition to IterableListModel this interface exposed the SearchableListModel (respectively the com.ibm.portal.LocatorProvider interface

Since:
8.5

Method Summary
 java.util.Iterator<E> iterator()
          Returns an iterator over elements of the list.
 
Methods inherited from interface com.ibm.portal.LocatorProvider
getLocator
 

Method Detail

iterator

java.util.Iterator<E> iterator()
Returns an iterator over elements of the list. To be compatible with both ListModel and java.util.Iterable, this method does not declare any exceptions

Specified by:
iterator in interface java.lang.Iterable<E>
Specified by:
iterator in interface ListModel<E>
Returns:
an iterator