how to send an arraylist from one object to another please help a.s.a.p.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: how to send an arraylist from one object to another please help a.s.a.p.

Hybrid View

  1. #1
    Join Date
    Jan 2006
    Posts
    4

    Exclamation how to send an arraylist from one object to another please help a.s.a.p.

    Does anyone know how to send an arraylist from one object to another?.....and how can i put 6 arraylists into one array list? THANK YOU

  2. #2
    Join Date
    Oct 2005
    Posts
    107
    Pass the reference to the arrayList to the other object.

    Use the add method.

  3. #3
    Join Date
    Nov 2004
    Location
    Norway
    Posts
    1,560
    Yezz, you don't "send" the arraylist anywhere, the containing object just "tells" the other object where the arraylist is, or more precisely where it starts.
    eschew obfuscation

  4. #4
    Join Date
    Dec 2004
    Location
    San Bernardino County, California
    Posts
    1,468
    Or are you thinking about sending it in a stream to a client or a server? If so, look at Serializable ... puts the object into a stream where it can be reconstructed "at the other end" ...

Similar Threads

  1. Replies: 7
    Last Post: 10-24-2002, 07:33 AM
  2. Replies: 0
    Last Post: 08-08-2002, 06:56 AM
  3. Even C++ had this much right...
    By Derek Mooney in forum .NET
    Replies: 94
    Last Post: 10-29-2001, 09:44 PM
  4. Re: Writer's Uninformed Statements
    By Rich in forum .NET
    Replies: 38
    Last Post: 09-07-2001, 06:55 PM
  5. Object Modeling for the WEB
    By Greg Dirst in forum authorevents.appleman
    Replies: 1
    Last Post: 04-10-2000, 03:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center