nemo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-nemo] wonook commented on a change in pull request #203: [NEMO-360] Implementing an 'XGBoostPolicy'
Date Thu, 21 Mar 2019 06:45:37 GMT
wonook commented on a change in pull request #203: [NEMO-360] Implementing an 'XGBoostPolicy'
URL: https://github.com/apache/incubator-nemo/pull/203#discussion_r267636803
 
 

 ##########
 File path: common/src/main/java/org/apache/nemo/common/dag/Edge.java
 ##########
 @@ -64,6 +64,15 @@ public final Integer getNumericId() {
     return Integer.parseInt(id.replaceAll("[^\\d.]", ""));
   }
 
+  /**
+   * Method to restore String ID from the numeric ID.
+   * @param numericId the numeric id.
+   * @return the restored string ID.
+   */
+  public static final String restoreId(final Integer numericId) {
 
 Review comment:
   Good idea.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message