org.compiere.model
Class POIterator<T extends PO>
java.lang.Object
org.compiere.model.POIterator<T>
- All Implemented Interfaces:
- Iterator<T>
public class POIterator<T extends PO>
- extends Object
- implements Iterator<T>
Iterator implementation to fetch PO one at a time using a prefetch ID list.
- Author:
- Low Heng Sin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POIterator
public POIterator(MTable table,
List<Object[]> idList,
String trxName)
- Parameters:
table - idList - trxName -
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iterator<T extends PO>
- See Also:
Iterator.hasNext()
next
public T next()
- Specified by:
next in interface Iterator<T extends PO>
- See Also:
Iterator.next()
remove
public void remove()
- not supported.
- Specified by:
remove in interface Iterator<T extends PO>
size
public int size()
- Returns:
- number of records
get
public T get(int index)
- Parameters:
index -
- Returns:
- PO or null if index is invalid
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.