org.kuali.common.threads
Class ListIteratorContext<T>
java.lang.Object
org.kuali.common.threads.ListIteratorContext<T>
- Type Parameters:
T
-
public class ListIteratorContext<T>
- extends Object
Provides context for iterating over the elements in a list. Offset and length control what portion of the list is
iterated over. The ElementHandler is invoked each time an element in the list is encountered.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListIteratorContext
public ListIteratorContext()
ListIteratorContext
public ListIteratorContext(int id,
int offset,
int length,
List<T> list)
getId
public int getId()
setId
public void setId(int id)
getOffset
public int getOffset()
setOffset
public void setOffset(int offset)
getLength
public int getLength()
setLength
public void setLength(int length)
getThreadHandler
public ThreadHandler<T> getThreadHandler()
setThreadHandler
public void setThreadHandler(ThreadHandler<T> threadHandler)
getNotifier
public ProgressNotifier<T> getNotifier()
setNotifier
public void setNotifier(ProgressNotifier<T> tracker)
getList
public List<T> getList()
setList
public void setList(List<T> list)
getElementHandler
public ElementHandler<T> getElementHandler()
setElementHandler
public void setElementHandler(ElementHandler<T> elementHandler)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.