Append contents of one vector to another?

Hi
I have a vector called temp which has an id, name, description, year
I have a vector called cVector which has an id, name, description, year
what is the least complex way of handling this situation if I would like to append temp to cVector?
Any advice would be appreciated, it seems my best efforts are only inserting temp into an index in cVector and the like... there must logically be a way.

ahhh thanks I thought I was going batty... it was still inside the far reaches of a while loop... logic error...
thanks and sorry if that was a simple one...

Similar Messages

  • Append one vector to another

    Hi:
    I would like to know if there is anyway to append one vector to another
    i.e
    Vector vec = new Vector();
    Vector anotherVec = new Vector();Is there a method I can call to append anotherVec to vec?
    without going through a while loop??
    please let me know...
    thnx

    do vec.addAll(anotherVec);

  • Can i transfer the entire contents of one ipod to another.  Songs were imported from CD not purchased at itunes store

    Can I transfer the contents of one pod to another.  The songs were imported from CD's; they were not purchased at the itunes store.  Basically I am asking if I can transfer to a new ipod.

    Thanks.  Not all the songs on my old ipod are on my computer at home.  But I'll transfer what I can from my home computer; and then bring the new ipod into work and transfer the rest of the music.  So simple I should have thought of it!

  • Copy contents of one table to another

    Hi,
    Can anyone will give me the code copying the contents of one table to another...
    Need an urgetn help..
    Thanks

    Thanks for everyones reply...
    But here the problem
    I to copy the content based on the length of the content
    Eg:
    If the content key code has 3 characteristics then where ever the last 2 characters are similar i need to copy the rrest content
    EG:-
    234
    236
    278
    299
    288
    that means i need to take the last two characteristic and copy the rest data ...
    another option
    23411
    23412
    23413
    23414
    in this i need to check the last 4 characters and copy...
    Can any one help..
    Another important point is it need to copy in different fields ...
    Eg: from where i am copying is FIELD A which has all the data and it need to copy in Field1,2,3,4,5,6,7,8
    Thanks

  • To transfer contents of one MBP to another do they both have to have the same version of the OS? I have one which is SL (source) and the other is ML (target) .. thanks

    To transfer contents of one MBP to another do they both have to have the same version of the OS? I have one which is SL (source) and the other is ML (target) .. thanks

    No, they can be running different versions of OS X, but beware that any old PowerPC apps will not run with Mountain Lion.

  • Need to Copy a subform along with content from one page to another page

    Hi All,
    I am new to Adobe Live Cycle .
    I am facing a particular problem in one scenario.
    I have a growing list of item i.e the number of Items are uncertain. I have put all these item in a sub form.
    Now I need a copy of this sub form from the First page to the 2nd Page.
    Basically , I want to copy a Subform along with the content from one page to another.
    Can anybody please help me.

    In source project open Tempo List (the one that is a list editor). Select all tempo changes and "copy them (command+c)
    close project
    Open destination project, open Tempo List delete all information and paste (command+V). Remember that Logic should be stopped at the exact position where the first tempo event happens. This is ussually 1.1.1.1, but check it in the source before closing it.
    hope this helps.
    regards

  • Appending data from one table to another

    Hello
    How to append data from one table t1 to another table t2.
    t1 and t2 have the same structures .
    t2 contains already data so i don't want do delete it and create it as select * from t1.
    If there is a mean to add t1 content without altering t2 content.
    Thanks in advance

    insert into t2
      select * from t1

  • How do I move imove content from one user to another on the same computer?

    We bought our Macbook pro about six months ago. We made the mistake of creating two users for it (my husband and myslef) but bow we only log in under my user name. The problem is we originally imported all of our video camera content to his "log in" and now it is in his imovie folder, and not mine. I want to make a movie on my log in with the fottage that we imported to his. So, how do I get video content from one users login on the SAME computer to the other log in users? I cannot seem to move it for the life of me. I did not expect this to be so difficult.

    Hi,
    You need to log into his account and look, under the Movies folder, for iMovie Events. Inside, you'll find folders with the events names and still further will be the movie itself. Copy each to an external media or use the Shared folder so both accounts can reference them.
    Another option would be to attach an external HD and via iMovie (Events Library pane) move them to the new disk. You would preserve the thumbnails and analysis already performed on the videos.
    Good luck!

  • Append data from one table to another.

    Hi,
    I want to insert/append some or all the data from one table to another table.
    For eg: Data from table table1 to be appended to table2 with the same constraints, indexes etc. The columns are same for both the tables.
    I am using 10g version 2.
    Please specify which method would be good for this process.
    Thanks
    Jafar

    INSERT INTO TABLE1 SELECT * FROM TABLE2;The above command would insert data into table2 and it also contain the old data.Is that right,
    Thanks
    Jafar

  • How to transfer content of one calendar to another one

    Please, can you advise on a protocol to transfer the content of one calendar content onto another without having to go ibto individual items and cjhnage the calendar? e.g. moving entire content at once. Many thanks.

    What calendars?
    iCloud, Google, Yahoo?

  • Moving content from one area to another

    Does anybody succeeded in moving content from one content area to another area?
    It is not possible using standard portal functionality.

    We're planning some cross-content area operations for the next release.
    Regards,
    Jerry

  • How do I move or copy the contents of one tag to another ?

    No-one was able to answer my question about how I can input data into the Description tag for several tracks at once (Description not being a field listed in the Multiple Item Info window).
    So, thinking along different lines ... Comment IS a tag that is shown but I'm already using it. What I would like to do therefore is to move all the data from Comment to Description (in one go), then I can start using Comment for new data via the Multiple Item Information dialogue.
    How do I move this data from one tag to another? Is there, for example, a Doug Script to do it that anyone knows of?

    No-one was able to answer my question about how I can input data into the Description tag for several tracks at once
    -> Enter Description Text for Selected v1.1
    "This script will apply user-entered text to the "Description" tag of each of the selected tracks."
    How do I move this data from one tag to another?
    Can't find a script to do this.
    However, you can add to the Comments field and leave what is there.

  • Copying contents of one account to another account

    Following advice about security, I just set up a new account for my family without administrator rights. But now I want to copy into that account all of the files and photos that the family had been using in the administrators account. How do I copy the contents of one account to a new account? I can't figure it out. Can you help?
    Thanks, Jonathan

    Hey, I have exactly the same problem.
    My msn messenger doesnt work completely right in my current using account.
    So I made a new account, and on that one my msn works!
    So I want to start using that account, but all my files and photos and everything are on my 'old' account.
    I did what you said; So I've made my new account admin. and my old account non-admin.
    But it doesnt work, my files aren't in my new account.
    but my parents do also have an account on this computer, also an admin account.
    I hope you understand me, and are able to help me!
    And Im sorry for my english.
    Thanks, Jessie
    Message was edited by: Shakilicious

  • How to Copy Contents of  One HD to Another HD?

    I use a G4 QuickSilver 2002; run Mac OS X 10.5.8 Leopard.  I would like to copy the contents of one old hard drive to the main hard drive.  How do I do it?  I tried using Disk Utility, but didn't know what to next once the Disk Utility folder appeared.  Enclosed please find picture of DU.  I'm trying to copy disk named Hard Disk to WD1200 Boot Drive.

    Alll the Disk Utility can do is clone an entire drive. In the process the Destination drive is erased. Is that the result you want? If so do this:
    Clone using Restore Option of Disk Utility
      1. Open Disk Utility in the Utilities folder.
      2. Select the destination volume from the left side list.
      3. Click on the Restore tab in the DU main window.
      4. Select the destination volume from the left side list and drag
           it to the Destination entry field.
      5. Select the source volume from the left side list and drag it to
          the Source entry field.
      6. Double-check you got it right, then click on the Restore button.
    Destination means the external backup drive. Source means the internal startup drive.
    If you want to copy files to the Destination without erasing the Destination, then you can do that using Drag and Drop. Select the files you wish to copy and drag them to the Destination drive. Note, that if the Destination is a boot drive, then be sure you only drag your files and data - no system files.

  • Copy/pasting content into one project from another.

    When I copy pictures from one project into another, it just leaves me with black pictures for the duration of the other ones...how do I fix this?

    Thank you. Just from the curiosity, why saving a final project under a new name?

Maybe you are looking for