| Constructor | Description |
|---|---|
LoanerState(ICity city) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(LoanProposal proposal) |
Add a loan proposal.
|
void |
add(LoanRequest request) |
Add a loan request.
|
void |
addDebt(IDebt debt) |
Add a new debt to the list.
|
void |
clearOldRequests() |
Remove request that are older than a certain time span.
|
getCity, getDebts, getLoanProposals, getRequestspublic LoanerState(ICity city)
public void add(LoanProposal proposal)
ILoanerpublic void add(LoanRequest request)
ILoanerpublic void clearOldRequests()
ILoanerclearOldRequests in interface ILoanerCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.