blob: c8443225bb16c33d5ad80c062f3235fed9a1f9e9 [file] [log] [blame]
{
"classLoaderSharing" : "workflow",
"script" : "List difference = new ArrayList();\nfor (Iterator i = list1.iterator(); i.hasNext();) {\n\tObject o = i.next();\n\tif (!list2.contains(o)) {\n\t\tdifference.add(o);\n\t}\n}\nfor (Iterator i = list2.iterator(); i.hasNext();) {\n\tObject o = i.next();\n\tif (!list1.contains(o)) {\n\t\tdifference.add(o);\n\t}\n}\n",
"localworkerName" : "org.embl.ebi.escience.scuflworkers.java.StringSetDifference",
"inputPorts" : [ {
"name" : "list1",
"depth" : 1,
"type" : "String"
}, {
"name" : "list2",
"depth" : 1,
"type" : "String"
} ],
"outputPorts" : [ {
"name" : "difference",
"depth" : 1,
"granularDepth" : 1
} ],
"isAltered" : false
}