Results 1 to 4 of 4
Thread: list, set or map ?
- 11-13-2010, 07:49 AM #1
Member
- Join Date
- Aug 2010
- Location
- Leuven, Belgium
- Posts
- 79
- Rep Power
- 0
list, set or map ?
Hello,
I have a collection of projects.
A project contains a projectname, customername, adress, contractnr, startdate, duration, ......
The intention is to show them into a calendarview.
There are about 50 projects a year.
The projects are serialized.
Do i have to put them into an arraylist, hashset or a map ?
Kind regards
- 11-13-2010, 07:57 AM #2
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,405
- Blog Entries
- 7
- Rep Power
- 17
- 11-13-2010, 08:32 AM #3
Senior Member
- Join Date
- Feb 2010
- Location
- Ljubljana, Slovenia
- Posts
- 470
- Rep Power
- 4
Exactly, look up the APIs for the List, Map and Set interfaces, get familiar with their their modus operandi, it should become pretty clear what interface to use in certain contexts.
Ever seen a dog chase its tail? Now that's an infinite loop.
- 11-13-2010, 09:20 AM #4
Member
- Join Date
- Aug 2010
- Location
- Leuven, Belgium
- Posts
- 79
- Rep Power
- 0
Similar Threads
-
How do I list values of an arrays in a comma seperted list
By nmvictor in forum New To JavaReplies: 2Last Post: 11-22-2009, 05:24 PM -
How do I list values of an arrays in a comma seperted list
By nmvictor in forum New To JavaReplies: 3Last Post: 11-21-2009, 05:48 PM -
how to create list of list in java ???
By ilayaraja in forum Advanced JavaReplies: 1Last Post: 10-26-2009, 04:30 PM -
Linked List integer list
By igniteflow in forum Advanced JavaReplies: 1Last Post: 12-10-2008, 08:53 PM -
How to access ArrayList in List of List?
By alvations in forum New To JavaReplies: 5Last Post: 10-08-2008, 12:23 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks