Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Page 1 of 14 12311 ... LastLast
Threads 1 to 50 of 659

Forum: Collections and Generics

Arrays, ArrayList, HashMap..

  1. convert arraylist to a hash map

    Started by nadman123, October 7th, 2008 05:16 PM
    • Replies: 1
    • Views: 52,292
    July 29th, 2009, 04:24 AM Go to last post
  2. [SOLVED] Cannot infer type arguments for ArrayList<>

    Started by mallorz, May 1st, 2014 04:06 PM
    • Replies: 7
    • Views: 51,563
    May 1st, 2014, 04:51 PM Go to last post
  3. error: array required, but String found

    Started by 13whispers, April 19th, 2018 04:18 PM
    • Replies: 3
    • Views: 19,460
    April 20th, 2018, 11:39 AM Go to last post
  4. TreeMap vs HashMap

    Started by Kerr, March 9th, 2011 07:23 AM
    • Replies: 7
    • Views: 14,611
    March 10th, 2011, 10:12 AM Go to last post
  5. Ordering items but a bit more complex then just swapping items

    Started by alfa86, July 12th, 2019 07:52 AM
    2 Pages
    1 2
    • Replies: 26
    • Views: 14,009
    July 13th, 2019, 06:12 PM Go to last post
  6. ArrayList Problem

    Started by Marty, June 16th, 2009 12:56 AM
    arraylist, random arraylist
    • Replies: 16
    • Views: 11,867
    August 31st, 2010, 03:47 AM Go to last post
  7. Help with Finding Max and Min Values of ArrayList

    Started by CheekySpoon, March 1st, 2011 03:51 PM
    • Replies: 3
    • Views: 11,484
    March 2nd, 2011, 08:57 PM Go to last post
  8. Returning Random Strings from an Array

    Started by cfmonster, September 3rd, 2009 11:03 PM
    • Replies: 3
    • Views: 11,402
    September 8th, 2009, 11:13 PM Go to last post
  9. how to compare two set values

    Started by humdinger, March 13th, 2010 09:34 AM
    • Replies: 1
    • Views: 11,026
    March 13th, 2010, 11:46 AM Go to last post
  10. [SOLVED] Java program to sort arrays containing dates

    Started by scottyadam, March 1st, 2009 12:10 AM
    • Replies: 1
    • Views: 10,905
    March 9th, 2009, 06:08 PM Go to last post
  11. game development- collision detection question

    Started by david37370, July 7th, 2013 04:50 PM
    collision detection, game, game developing, games arcade, programming
    • Replies: 11
    • Views: 10,628
    July 21st, 2013, 12:54 PM Go to last post
    • Replies: 5
    • Views: 10,330
    October 11th, 2012, 03:48 PM Go to last post
  12. converting array into arraylist

    Started by Harry Blargle, October 2nd, 2011 09:00 AM
    • Replies: 6
    • Views: 10,271
    October 30th, 2011, 03:38 AM Go to last post
    • Replies: 2
    • Views: 10,141
    April 4th, 2012, 05:22 AM Go to last post
  13. Java program to do Matrix operation

    Started by saladfingers73, February 1st, 2009 06:11 PM
    • Replies: 5
    • Views: 9,637
    March 7th, 2012, 09:17 AM Go to last post
  14. Iterating over collections in Java 8

    Started by yhqian99, August 24th, 2014 09:53 AM
    • Replies: 5
    • Views: 9,477
    October 19th, 2018, 12:49 AM Go to last post
  15. Creating multiple arraylists with a loop?

    Started by DLX, December 27th, 2010 09:10 AM
    • Replies: 4
    • Views: 9,472
    December 28th, 2010, 06:58 PM Go to last post
  16. Cool Eliminating Duplicates in an Array

    Started by m2msucks, October 23rd, 2011 01:09 AM
    • Replies: 4
    • Views: 9,393
    October 30th, 2011, 03:03 AM Go to last post
  17. Java program for 2-D Array Maze

    Started by Peetah05, May 1st, 2009 12:43 AM
    • Replies: 11
    • Views: 9,186
    May 8th, 2009, 04:30 AM Go to last post
  18. Pick random objects from array/arraylist. Newbie.

    Started by Sputnik, October 23rd, 2010 01:41 PM
    • Replies: 3
    • Views: 9,154
    October 29th, 2010, 11:59 AM Go to last post
  19. Binding object

    Started by marcobelli, May 31st, 2013 10:41 AM
    binding
    • Replies: 1
    • Views: 9,044
    May 31st, 2013, 11:19 AM Go to last post
  20. [SOLVED] Sets and creating a new set containing a common number

    Started by mds1256, February 25th, 2010 09:02 AM
    • Replies: 2
    • Views: 9,041
    February 26th, 2010, 06:00 PM Go to last post
  21. Object array to int array?

    Started by rsala004, October 30th, 2009 12:57 AM
    • Replies: 1
    • Views: 8,997
    October 30th, 2009, 04:09 AM Go to last post
  22. Expanding the capacity of an array

    Started by dubois.ford, April 6th, 2010 02:58 PM
    • Replies: 5
    • Views: 8,881
    May 7th, 2010, 05:58 AM Go to last post
  23. Different operation on Array

    Started by jempot, January 11th, 2009 06:44 AM
    • Replies: 4
    • Views: 8,435
    January 27th, 2009, 06:07 AM Go to last post
  24. ArrayList and making a Menu

    Started by Silver, January 27th, 2010 07:01 PM
    • Replies: 2
    • Views: 8,378
    January 28th, 2010, 03:29 AM Go to last post
  25. dynamically resizing 2d array

    Started by Flamespewer, March 1st, 2010 05:37 PM
    • Replies: 2
    • Views: 8,246
    March 2nd, 2010, 11:10 AM Go to last post
  26. Angry Changing Array variables from different classes

    Started by smellyhole85, December 9th, 2010 07:42 AM
    • Replies: 6
    • Views: 7,880
    December 9th, 2010, 03:18 PM Go to last post
  27. [SOLVED] 2D Vector

    Started by nasi, April 16th, 2010 07:55 PM
    2d vector
    • Replies: 2
    • Views: 7,526
    May 6th, 2010, 01:42 AM Go to last post
  28. Playlist Shuffle with Collections.shuffle(......)

    Started by TmDee, May 13th, 2019 12:18 PM
    collections shuffle, java, playlist
    • Replies: 1
    • Views: 7,264
    May 13th, 2019, 03:37 PM Go to last post
  29. Question Array of contacts (address book)

    Started by smush, March 29th, 2010 09:32 PM
    address, array, book, java, swing
    • Replies: 11
    • Views: 7,261
    April 29th, 2010, 03:08 AM Go to last post
  30. Fill & sort an array

    Started by yroll, March 31st, 2010 03:12 PM
    • Replies: 2
    • Views: 7,179
    April 1st, 2010, 06:00 AM Go to last post
  31. Unhappy How to print the same 2D Array Vertically and Horizontally

    Started by rayan2004, November 23rd, 2012 02:07 AM
    2d array, student, vertically
    • Replies: 8
    • Views: 7,094
    November 25th, 2012, 04:06 PM Go to last post
  32. Writing clone() method for LinkedList

    Started by vluong, October 26th, 2009 06:51 PM
    • Replies: 6
    • Views: 7,044
    October 27th, 2009, 08:41 AM Go to last post
  33. sieve of eratosthenes

    Started by rsala004, October 27th, 2009 05:55 AM
    • Replies: 5
    • Views: 7,010
    December 29th, 2010, 10:37 AM Go to last post
  34. ArrayList<String> convert to lowercase

    Started by s_mehdi76, October 30th, 2010 11:19 AM
    arraylist<string> lowercase
    • Replies: 1
    • Views: 6,837
    October 30th, 2010, 09:05 PM Go to last post
  35. filling an array with strings

    Started by exose, February 18th, 2011 06:09 AM
    • Replies: 3
    • Views: 6,797
    February 18th, 2011, 09:44 AM Go to last post
  36. override list add method?

    Started by ober0330, July 15th, 2011 01:37 PM
    • Replies: 10
    • Views: 6,770
    July 17th, 2011, 07:34 PM Go to last post
  37. Post Multi-dimension ArrayList example

    Started by adeola, March 15th, 2010 05:30 AM
    • Replies: 3
    • Views: 6,602
    March 26th, 2010, 03:23 AM Go to last post
  38. Implementing Multiple Interfaces with Generics

    Started by darkestfright, February 10th, 2010 02:09 PM
    • Replies: 5
    • Views: 6,601
    February 10th, 2010, 08:44 PM Go to last post
  39. Buffered Reader to J Option

    Started by jk_0821, July 12th, 2010 09:20 AM
    • Replies: 13
    • Views: 6,480
    July 19th, 2010, 03:14 PM Go to last post
  40. Family Tree in Java

    Started by Bobben92, November 20th, 2012 07:09 AM
    • Replies: 3
    • Views: 6,402
    November 20th, 2012, 09:28 AM Go to last post
  41. accessing elements in a 2d ArrayList

    Started by Flamespewer, March 8th, 2010 05:23 PM
    • Replies: 2
    • Views: 6,381
    March 8th, 2010, 06:11 PM Go to last post
  42. PhoneBook entries with ArrayList problem

    Started by gpelefty9, October 24th, 2011 10:48 PM
    • Replies: 3
    • Views: 6,344
    October 30th, 2011, 03:32 AM Go to last post
  43. [SOLVED] javabat example makeLast

    Started by Truffy, June 30th, 2009 10:34 PM
    • Replies: 3
    • Views: 6,339
    July 5th, 2009, 08:25 PM Go to last post
  44. Cool Using the ArrayList Class

    Started by m2msucks, November 20th, 2011 02:28 AM
    • Replies: 9
    • Views: 6,309
    November 21st, 2011, 02:22 PM Go to last post
  45. Java API - JTA

    Started by Venkatesa Perumal, August 27th, 2013 12:54 AM
    • Replies: 1
    • Views: 6,297
    August 27th, 2013, 01:11 AM Go to last post
  46. Arraylist Save and Load

    Started by frankycool, November 14th, 2009 03:25 AM
    arraylist, arraylist io object, arrays, input, output
    • Replies: 1
    • Views: 6,008
    November 14th, 2009, 06:48 AM Go to last post
  47. Creating an Expression Tree

    Started by vluong, November 28th, 2009 11:41 PM
    • Replies: 0
    • Views: 5,925
    November 28th, 2009, 11:41 PM Go to last post

Page 1 of 14 12311 ... LastLast

Thread Display Options

Use this control to limit the display of threads to those newer than the specified time frame.

Allows you to choose the data by which the thread list will be sorted.

Order threads in...

Note: when sorting by date, 'descending order' will show the newest results first.

Icon Legend

Contains unread posts
Contains unread posts
Contains no unread posts
Contains no unread posts
More than 15 replies or 150 views
Hot thread with unread posts
More than 15 replies or 150 views
Hot thread with no unread posts
Closed Thread
Thread is closed
Thread Contains a Message Written By You
You have posted in this thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •