Posted on 2009-04-16
I need to be able to put in some values in a collection. How is this done the best way?
Collection<String> collection_deployment = deployment.getDeploy();
this will have this values:
 bla bla bla0
 bla bla bla1
 bla bla bla2
 bla bla bla3
What I want is to add something between 1 and 2. How is this done?
I konw what the  string ends with: bla bla bla1. So do I search for that string or what?
Code example would be great