public class ItemIterator extends AbstractItemIterator
TabSwitcher.| Modifier and Type | Class and Description |
|---|---|
static class |
ItemIterator.Builder
A builder, which allows to configure and create instances of the class
ItemIterator. |
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