|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.omnaest.utils.structure.collection.list.decorator.ListDispatcher.ListDispatchControl<E>
E - protected static class ListDispatcher.ListDispatchControl<E>
The ListDispatcher.ListDispatchControl allows to control to which List the method invocations to the ListDispatcher
will be forwarded to.
| Constructor Summary | |
|---|---|
ListDispatcher.ListDispatchControl(List<E>... lists)
|
|
| Method Summary | ||
|---|---|---|
int |
getCurrentListIndex()
|
|
|
getList()
Returns the currently active List to which all method invocations should be forwarded. |
|
ListDispatcher.ListDispatchControl<E> |
rolloverToNextList()
Moves all elements of the current active dispatch List to the next and switches to this List. |
|
ListDispatcher.ListDispatchControl<E> |
rolloverToPreviousList()
Moves all elements of the current active dispatch List to the previous and switches to this List. |
|
ListDispatcher.ListDispatchControl<E> |
switchToNextInternalList()
Switches to the next internally available List |
|
ListDispatcher.ListDispatchControl<E> |
switchToPreviousInternalList()
Switches to the next internally available List |
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListDispatcher.ListDispatchControl(List<E>... lists)
lists - ListDispatcher.ListDispatchControl| Method Detail |
|---|
public ListDispatcher.ListDispatchControl<E> switchToNextInternalList()
List
public ListDispatcher.ListDispatchControl<E> switchToPreviousInternalList()
List
public ListDispatcher.ListDispatchControl<E> rolloverToNextList()
List to the next and switches to this List.
public ListDispatcher.ListDispatchControl<E> rolloverToPreviousList()
List to the previous and switches to this List.
public <L extends List<E>> L getList()
List to which all method invocations should be forwarded.
public int getCurrentListIndex()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||