-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow use of operators for cells (#1247)
Closes #1165 ### Summary of Changes Operators can now also be used if the operands are cells, leading to considerably more readable code when working with cells. Before: ``` val bothN = tableShortN.countRowIf( (row) -> (row.getValue("survived").eq("Yes")).^and (row.getValue("age").gt(30)) ) ``` After: ``` val bothN = tableShortN.countRowIf( (row) -> row.getValue("survived") == "Yes" and row.getValue("age") > 30 ) ``` The old named methods will remain part of the API, so they show up in auto-completion and the API reference and guide users towards the corresponding operators.
- Loading branch information
1 parent
0d27e33
commit 2930357
Showing
20 changed files
with
742 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.