turbine-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Eade <se...@backstagetech.com.au>
Subject Re: Change from Vector to List return types
Date Wed, 05 Feb 2003 23:00:44 GMT
On 6/02/2003 9:46 AM, "Bill" <bhalpin@collaborativefusion.com> wrote:

> Does anyone know offhand why the return types were changed in Torque?

Of the top of my head:
1. It is better to return an interface rather than a specific type - hides
the implementation.
2. Vector is synchronized, ArrayList is not - better performance.

There may be other reasons.

Scott Eade
Backstage Technologies Pty. Ltd.
.Mac Chat/AIM: seade at mac dot com

To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org

View raw message