Class POIterator<T extends PO>

  • 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
    • Constructor Detail

      • POIterator

        public POIterator​(MTable table,
                          List<Object[]> idList,
                          String trxName)
        Parameters:
        table -
        idList -
        trxName -
    • Method Detail

      • 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