commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Sadowski <gil...@harfang.homelinux.org>
Subject Re: [math] Fluent interface in RealVector
Date Mon, 09 Jul 2012 00:42:34 GMT
On Sat, Jul 07, 2012 at 01:49:25PM +0200, S├ębastien Brisard wrote:
> Hello,
> most existing methods in class RealVector allow method chaining.

Chaining does not always make for readable code.

> However, some methods just return void instead of this
>   - addToEntry
>   - set
>   - setEntry
>   - setSubVector
>   - unitize
> 
> Are you OK with having all or only some (which ones) methods return this?

+0 (for people who like it).
[And for API consistency.]


Gilles

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


Mime
View raw message