|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moneydance.apps.md.model.TxnIterator
public class TxnIterator
A TxnIterator is an iterator that scans both sides of all transactions, treating split transactions as N*2 transactions where N is the number of SplitTxns associated with the ParentTxn. This iterator should be used for all reporting tasks as it scans Txns in their most generic form.
Constructor Summary | |
---|---|
TxnIterator(TransactionSet txns)
Construct a TxnIterator that iterates over all SplitTxns as well as their "flip sides". |
Method Summary | |
---|---|
boolean |
hasNext()
Return whether or not there are any more Txns over which we should iterate. |
Txn |
next()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TxnIterator(TransactionSet txns)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Txn>
public Txn next()
next
in interface java.util.Iterator<Txn>
public void remove()
remove
in interface java.util.Iterator<Txn>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |