Package org.compiere.model
Class POIterator<T extends PO>
java.lang.Object
org.compiere.model.POIterator<T>
- All Implemented Interfaces:
Iterator<T>
Iterator implementation to fetch PO one at a time using a prefetch ID list.
- Author:
- Low Heng Sin
-
Constructor Details
-
POIterator
- Parameters:
table
-idList
-trxName
-
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove()not supported. -
size
public int size()- Returns:
- number of records
-
get
- Parameters:
index
-- Returns:
- PO or null if index is invalid
-