org.eclipse.jpt.utility.model.value
Interface ListValueModel<E>

All Superinterfaces:
java.lang.Iterable<E>, Model

public interface ListValueModel<E>
extends Model, java.lang.Iterable<E>

Interface used to abstract list accessing and change notification and make it more pluggable. Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.


Field Summary
static java.lang.String LIST_VALUES
           
 
Method Summary
 E get(int index)
          Return the item at the specified index of the list.
 java.util.Iterator<E> iterator()
          Return the list's values.
 java.util.ListIterator<E> listIterator()
          Return the list's values.
 int size()
          Return the size of the list.
 java.lang.Object[] toArray()
          Return the list's values.
 
Methods inherited from interface org.eclipse.jpt.utility.model.Model
addCollectionChangeListener, addCollectionChangeListener, addListChangeListener, addListChangeListener, addPropertyChangeListener, addPropertyChangeListener, addStateChangeListener, addTreeChangeListener, addTreeChangeListener, removeCollectionChangeListener, removeCollectionChangeListener, removeListChangeListener, removeListChangeListener, removePropertyChangeListener, removePropertyChangeListener, removeStateChangeListener, removeTreeChangeListener, removeTreeChangeListener
 

Field Detail

LIST_VALUES

static final java.lang.String LIST_VALUES
See Also:
Constant Field Values
Method Detail

iterator

java.util.Iterator<E> iterator()
Return the list's values.

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

listIterator

java.util.ListIterator<E> listIterator()
Return the list's values.


size

int size()
Return the size of the list.


get

E get(int index)
Return the item at the specified index of the list.


toArray

java.lang.Object[] toArray()
Return the list's values.