com.businessobjects.rebean.wi
Interface Contexts


public interface Contexts

The Contexts class defines a list of contexts.


Method Summary
 int getCount()
          Gets the number of contexts in the list.
 Context getItem(int index)
          Returns the context at the specified position in the list.
 

Method Detail

getCount

int getCount()
Gets the number of contexts in the list.

Returns:
the number of contexts in the list.

getItem

Context getItem(int index)
                throws java.lang.IndexOutOfBoundsException
Returns the context at the specified position in the list.

Parameters:
index - the index of the context to return (0 based).
Returns:
a context at the specified position in the list.
Throws:
java.lang.IndexOutOfBoundsException - if index out of range. (index < 0 || index > getCount()).