Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-11-2008, 04:39 AM
Member
 
Join Date: Dec 2008
Posts: 1
Rep Power: 0
blawknox04 is on a distinguished road
Default Arraylist of Type T
How do you set up an arraylist of type T and fill it up (T being an extension of java.lang.number) and then pass it.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 12-11-2008, 06:55 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 7,513
Rep Power: 11
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Default
You want to add different types into an ArratList? Did you search on the forum, as well as on the web?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
Someone helped you? their helpful post.
Help:Forums FAQ|How To Ask Questions The Smart WayResources:The Java Tutorials|Glossary for Java|NetBeans IDE|Sun DownloadsWeb:WritOnceTips:Is your IDE the best?|Which Application Server?
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
using instanceof to get Object type and parent type? xcallmejudasx New To Java 2 11-06-2008 07:24 PM
[SOLVED] Cast string type to int type GilaMonster New To Java 9 09-17-2008 11:43 AM
Open a type JavaForums Java Blogs 0 07-10-2008 11:20 AM
Java Project Trouble: Searching one ArrayList with another ArrayList BC2210 New To Java 2 04-21-2008 12:43 PM
ArrayList<type> - Generics Java Tip Java Tips 0 11-14-2007 04:21 PM


All times are GMT +2. The time now is 06:46 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org