Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2bb2ed9

Browse filesBrowse files
committed
add Expr.getLabel()
1 parent 656ce0e commit 2bb2ed9
Copy full SHA for 2bb2ed9

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Open diff view settings
Collapse file

‎src/symjava/symbolic/Expr.java‎

Copy file name to clipboardExpand all lines: src/symjava/symbolic/Expr.java
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,21 @@ public Expr getExpr() {
5757
return this;
5858
}
5959

60+
/**
61+
* Return the string expression
62+
*/
6063
public String toString() {
6164
return label;
6265
}
6366

67+
/**
68+
* Return the label(or name) of the expression
69+
* @return
70+
*/
71+
public String getLabel() {
72+
return label;
73+
}
74+
6475
public String getSortKey() {
6576
return sortKey;
6677
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.