Class AccountIterator
java.lang.Object
com.infinitekind.moneydance.model.AccountIterator
- All Implemented Interfaces:
java.util.Iterator<Account>
public class AccountIterator extends java.lang.Object implements java.util.Iterator<Account>
Iterator used to scan a set of accounts.
- Author:
- sreilly
-
Constructor Summary
Constructors Constructor Description AccountIterator(Account topLevelAcct)
AccountIterator(AccountBook book)
Build an iterator over all accountsAccountIterator(AccountBook book, Account ancestorAccount)
Build an iterator over all accounts, or if ancestorAccount is non-null then all descendants of it. -
Method Summary
-
Constructor Details
-
AccountIterator
Build an iterator over all accounts, or if ancestorAccount is non-null then all descendants of it.- Since:
- build 1188 This constructor is only available as of build 1188 (Moneydance 2015.4)
-
AccountIterator
Build an iterator over all accounts -
AccountIterator
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfacejava.util.Iterator<Account>
-
next
- Specified by:
next
in interfacejava.util.Iterator<Account>
-
remove
public void remove() throws java.lang.UnsupportedOperationException- Specified by:
remove
in interfacejava.util.Iterator<Account>
- Throws:
java.lang.UnsupportedOperationException
-