title: Concatenate Vectors in Java
body: <p>Is there any easy and quick way to merge 2 java vectors to 1?</p>
  
  <p>For example if I have:</p>
  
  <pre><code>  Vector&lt;Object&gt; Va = (Vector&lt;Object&gt;)Return_Vector_with_Objs();
    Vector&lt;Object&gt; Vb = (Vector&lt;Object&gt;)Return_Vector_with_Objs();
  
    Vector&lt;Object&gt; Vmerge_a_b = function_that_takes_a_b_merges(Va,Vb);
  </code></pre>
  
  <p>Is there any function like function_that_takes_a_b_merges or easy way to merge these 2 vectors ?</p>
  
  <p>I don't want to do it with loops and add() etc. I am asking if there is a quicker way. </p>
  
  <p>EDIT: I also want the repeated objects to be ruled out.</p>