org.kuali.common.threads
Class ListIteratorContext<T>

java.lang.Object
  extended by 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.


Constructor Summary
ListIteratorContext()
           
ListIteratorContext(int id, int offset, int length, List<T> list)
           
 
Method Summary
 ElementHandler<T> getElementHandler()
           
 int getId()
           
 int getLength()
           
 List<T> getList()
           
 ProgressNotifier<T> getNotifier()
           
 int getOffset()
           
 ThreadHandler<T> getThreadHandler()
           
 void setElementHandler(ElementHandler<T> elementHandler)
           
 void setId(int id)
           
 void setLength(int length)
           
 void setList(List<T> list)
           
 void setNotifier(ProgressNotifier<T> tracker)
           
 void setOffset(int offset)
           
 void setThreadHandler(ThreadHandler<T> threadHandler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListIteratorContext

public ListIteratorContext()

ListIteratorContext

public ListIteratorContext(int id,
                           int offset,
                           int length,
                           List<T> list)
Method Detail

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.