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 T
get(int index)
boolean
hasNext()
T
next()
void
remove()
not supported.int
size()
-
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:
hasNext
in interfaceIterator<T extends PO>
- See Also:
Iterator.hasNext()
-
next
public T next()
- Specified by:
next
in 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
-
-