Skip to content

Commit 589bced

Browse files
authored
[Docs] modify example:Add default constructor
1 parent d9f1e18 commit 589bced

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/design/psf_get.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ public class Sum extends GetFunc {
4141
this.rowIndex = rowIndex;
4242
}
4343

44+
public SumParam() {
45+
     this(-1, -1);
46+
   }
47+
4448
public int getRowIndex() {
4549
return rowIndex;
4650
}
@@ -211,4 +215,4 @@ double result = ((SumResult)psModel.get(sumFunc)).getResult();
211215
```
212216

213217

214-
[1]: ../img/psf_get.png
218+
[1]: ../img/psf_get.png

0 commit comments

Comments
 (0)