Re: Using arrays of objects ?
- From: Lew <lew@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 14 Apr 2007 11:12:56 -0400
TideRider wrote:
I would probably use ...
Just so you know, many newsreaders, mine included, clip material that follows your sig in the reply, and display it "dimmed" or gray in the initial reading. This happened with your replies, which were top-posted.
Top-posting also disrupts the flow of the message and makes it harder to read.
Please don't top-post.
As to your suggestion to use
ArrayList<Tool> toolbox = new ArrayList<Tool>();
It'd likely be better to use
List<Tool> toolbox = ...
or even
Collection<Tool> toolbox = ...
For example, if a given Tool should appear only once in 'toolbox', then the implementing class might better be a Set<Tool>.
--
Lew
.
- References:
- Re: Using arrays of objects ?
- From: TideRider
- Re: Using arrays of objects ?
- Prev by Date: Re: Using arrays of objects ?
- Next by Date: Programming to interfaces with beans?
- Previous by thread: Re: Using arrays of objects ?
- Next by thread: Programming to interfaces with beans?
- Index(es):
Relevant Pages
|