]> gerrit.simantics Code Review - simantics/platform.git/blob
30fe62719a932893d3df752a13c6720d0556d6e1
[simantics/platform.git] /
1 package org.simantics.scl.compiler.tests.imports;\r
2 \r
3 import java.util.Random;\r
4 \r
5 public class Maybe4Imports {\r
6 \r
7     public static Object toMaybeDouble(Random r, String s) {\r
8         try {\r
9             return new Double(s);\r
10         } catch(Exception e) {\r
11             return null;\r
12         }\r
13     }\r
14     \r
15 }\r