Package org.compiere.model
Class POIterator<T extends PO>
- java.lang.Object
-
- org.compiere.model.POIterator<T>
-
-
Constructor Summary
Constructors Constructor Description POIterator(MTable table, List<Object[]> idList, String trxName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tget(int index)booleanhasNext()Tnext()voidremove()not supported.intsize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<T extends PO>- See Also:
Iterator.hasNext()
-
next
public T next()
- Specified by:
nextin interfaceIterator<T extends PO>- See Also:
Iterator.next()
-
size
public int size()
- Returns:
- number of records
-
get
public T get(int index)
- Parameters:
index-- Returns:
- PO or null if index is invalid
-
-