Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 11-02-2004, 05:09 PM   #1 (permalink)
<Insert wise statement here>
 
MageB420666's Avatar
 
Location: Hell if I know
Java ArrayList Conversion

I'm writing a program for class and I need to know how to convert an ArrayList into an array. Any help is appreciated.
__________________
Apathy: The best outlook this side of I don't give a damn.
MageB420666 is offline  
Old 11-02-2004, 06:30 PM   #2 (permalink)
Crazy
 
Location: here and there
http://java.sun.com/j2se/1.4.2/docs/api/

look for arrayList.toArray()
__________________
# chmod 111 /bin/Laden
theFez is offline  
Old 11-02-2004, 07:04 PM   #3 (permalink)
<Insert wise statement here>
 
MageB420666's Avatar
 
Location: Hell if I know
Thanks, I didn't think to look in the API. I thought I had to do something totally different.
__________________
Apathy: The best outlook this side of I don't give a damn.
MageB420666 is offline  
Old 11-02-2004, 08:34 PM   #4 (permalink)
Crazy
 
Location: here and there
I didnt know it existed either, but it seemed like the kind of thing that would be in the api. I've never used arrayList myself, only ever used linked lists when i needed a list.
__________________
# chmod 111 /bin/Laden
theFez is offline  
Old 11-04-2004, 07:58 PM   #5 (permalink)
<Insert wise statement here>
 
MageB420666's Avatar
 
Location: Hell if I know
EDIT: Worked out the problem I was having.
__________________
Apathy: The best outlook this side of I don't give a damn.

Last edited by MageB420666; 11-05-2004 at 09:04 AM..
MageB420666 is offline  
 

Tags
arraylist, conversion, java


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 12:29 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73