| { |
| "classLoaderSharing" : "workflow", |
| "script" : "List intersection = new ArrayList();\nfor (Iterator i = list1.iterator(); i.hasNext();) {\n\tObject o = i.next();\n\tif (list2.contains(o)) {\n\t\tintersection.add(o);\n\t}\n}\n", |
| "localworkerName" : "org.embl.ebi.escience.scuflworkers.java.StringSetIntersection", |
| "inputPorts" : [ { |
| "name" : "list1", |
| "depth" : 1, |
| "type" : "String" |
| }, { |
| "name" : "list2", |
| "depth" : 1, |
| "type" : "String" |
| } ], |
| "outputPorts" : [ { |
| "name" : "intersection", |
| "depth" : 1, |
| "granularDepth" : 1 |
| } ], |
| "isAltered" : false |
| } |