Code example for Vector

Methods: add

0
      sources1.add("bizfollow_biz"); sources1.add("bizfollow_rev");
 
      Vector<String> sources2 = new Vector<String> ();
      sources2.add("bizfollow_biz");
 
      Vector<String> sources3 = new Vector<String> ();
      sources3.add("bizfollow_biz") ; sources3.add("bizfollow_test") ; sources3.add("bizfollow_intl");
 
      checkSharedCps(sharedCp,sources1);
      checkSharedCps(sharedCp,sources2);
      checkSharedCps(sharedCp,sources3);
 
      //delete the node; 
      groupMember.removeSharedData();
 
    } 
    finally { 
      if (clusterNode != null)
      clusterNode.close();
      stopZk(localZkServers);
    }