BrightSide Workbench Full Report + Source Code
org.turro.financials.portfolio.PortfolioProcess Class Reference
Inheritance diagram for org.turro.financials.portfolio.PortfolioProcess:
Collaboration diagram for org.turro.financials.portfolio.PortfolioProcess:

Public Member Functions

void doIt (Grid grid)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 43 of file PortfolioProcess.java.

Member Function Documentation

◆ doIt()

void org.turro.financials.portfolio.PortfolioProcess.doIt ( Grid  grid)

Definition at line 54 of file PortfolioProcess.java.

54  {
55 
56  wasCancelled = false;
57 
58  contract = null;
59  documentDefinition = null;
60  direction = null;
61  list = new ArrayList<>();
62 
63  Iterator<PortfolioAction> it = iterator();
64 
65  if(it.hasNext()) {
66  doNext(it);
67  } else {
68  processList(null);
69  }
70  // fill the list until there is a break, then process
71 // for(PortfolioAction pa : this) {
72 // if(isBreak(pa, contract, direction, documentDefinition)) {
73 // processList(list, contract, documentDefinition);
74 // }
75 // contract = pa.getDocument().getContract();
76 // direction = pa.isForward();
77 // documentDefinition = pa.getDocumentDefinition();
78 // list.add(pa);
79 // }
80 
81  }

The documentation for this class was generated from the following file: