commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [Collections] Release potential?
Date Mon, 19 Aug 2002 19:03:21 GMT
From: "Jonathan Carlson" <joncrlsn2@yahoo.com>
> 2) ArrayList is a specific implementation that should not
> be used in the name of these classes (AbstractIntArrayList
> and IntArrayList) because it implies a certain
> implementation (namely the use of ArrayList or subclass of
> it) that isn't the case.  The differences (ArrayList of
> Integers vs. arrays of ints) are very important in terms of
> memory usage (see
> http://www.javaworld.com/javaworld/javatips/jw-javatip130.html).

IntArrayList sounds fine to me. You have a better name?

> 3) I would greatly prefer to have an IntList interface so I
> can declare variables and arguments with an interface
> instead of an abstract super class (like we do with the
> collection interfaces).  See Joshua Bloch's "Effective
> Java" item number 16 on page 84.  He agrees with me too.

You are probably correct, but this can be added after the release.

> Does anyone else see this the way I do?  I'd be happy to
> commit documentation improvements (#1), but I don't think I
> am known enough to get approved.  (I wrote the
> TransformingComparator class which I think IMHO is pretty
> well documented).

http://jakarta.apache.org/site/source.html
http://jakarta.apache.org/site/contributing.html
details contributing. Documentation patches would be welcomed I think.

Stephen




--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message