Quantcast
Channel: Samuel's Tech Blog - planet bioclipse
Viewing all articles
Browse latest Browse all 12

Looping over a List in Bioclipse's JS console

$
0
0

I had some trouble finding out how to loop over the results of a manager method in Bioclipse, which returns a List<String> to Bioclipse's javascript console. Since I didn't find it documented anywhere (probably it is, somewhere?), I wanted to ducument the snippet here:

var strings = myManager.methodReturningListOfStrings(someParams);for(var i=0; i<strings.size(); i++){
  js.say(strings.get(i));}

Viewing all articles
Browse latest Browse all 12

Trending Articles