protected class AbstractTabSwitcherLayout.InitialItemIterator extends AbstractItemIterator
TabSwitcher. When an item is referenced for the first time, its initial position
and state is calculated and the item is stored in a backing array. When the item is
iterated again, it is retrieved from the backing array.AbstractItemIterator.AbstractBuilder<BuilderType extends AbstractItemIterator.AbstractBuilder<?,ProductType>,ProductType extends AbstractItemIterator>| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
The method, which is invoked on subclasses in order to retrieve the total number of available
items.
|
AbstractItem |
getItem(int index)
The method, which is invoked on subclasses in order to retrieve the item, which corresponds
to a specific index.
|
first, hasNext, initialize, next, peek, previouspublic final int getCount()
AbstractItemIteratorgetCount in class AbstractItemIteratorInteger valuepublic final AbstractItem getItem(int index)
AbstractItemIteratorgetItem in class AbstractItemIteratorindex - The index of the item, which should be returned, as an Integer valueAbstractItem. The item may not be null