Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 83199 invoked from network); 6 Mar 2010 18:22:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Mar 2010 18:22:46 -0000 Received: (qmail 95846 invoked by uid 500); 6 Mar 2010 18:22:28 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 95745 invoked by uid 500); 6 Mar 2010 18:22:28 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 95737 invoked by uid 99); 6 Mar 2010 18:22:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Mar 2010 18:22:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ted.dunning@gmail.com designates 209.85.160.43 as permitted sender) Received: from [209.85.160.43] (HELO mail-pw0-f43.google.com) (209.85.160.43) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Mar 2010 18:22:20 +0000 Received: by pwi7 with SMTP id 7so2798667pwi.30 for ; Sat, 06 Mar 2010 10:21:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=zGh85EzAbl5Ib2CEdd94O9aTepl0RsyU1Enr8MMwgQc=; b=UpFtR4ak2HSLBrlGAYiv+/RhKlZO20YOIcZ+3uz1PiH+r4AlHyMi149lo/VPzTp4t0 4PCxeQ02IuMcyKCgYabMs1EL+GKV7mI+Rs5BkP+0tpTG+N7/mEm2QFPHg7sLjM+69B71 Gkh72CNTY9RztU8yrNchC3lX4IjrFxSZfs82c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=qdnBDDYIjLZxQ806eA8/Vp0A/nYeoJULlQoy1dvlC+Z3s6gKphCJXWqCpat/KHr76x 9+/u44B9kHNODkILD9um4vGVdr0BvpjCI66NwxYnwe9ptslJRc8Rzmgyk7rDpNQv5kCp erBZZL10Q1QkvYRyiY8c0GR4WyNIL+e+kggWI= MIME-Version: 1.0 Received: by 10.141.53.1 with SMTP id f1mr1688569rvk.142.1267899719162; Sat, 06 Mar 2010 10:21:59 -0800 (PST) In-Reply-To: <4B927578.4010406@gmail.com> References: <20100305123427.GD31457@dusk.harfang.homelinux.org> <20100305183716.GB6536@dusk.harfang.homelinux.org> <25aac9fc1003051258t521498d0v409f2b7224cfa4ee@mail.gmail.com> <20100305215609.GC6536@dusk.harfang.homelinux.org> <4B927578.4010406@gmail.com> From: Ted Dunning Date: Sat, 6 Mar 2010 10:21:39 -0800 Message-ID: Subject: Re: [Math] Issue 348 To: Commons Developers List Content-Type: multipart/alternative; boundary=000e0cd291a65f1cdd048125e8da X-Virus-Checked: Checked by ClamAV on apache.org --000e0cd291a65f1cdd048125e8da Content-Type: text/plain; charset=UTF-8 Making these immutable will be a real pain as demonstrated by the over-dispersed exponential example. In particular, to maintain performance, it would require that all constructors be arranged to allow injection of a random number generator. Management of that would be a nasty code issue. Better to just allow the parameters to be changed so that a user can ignore the issue of which PRNG is used. On Sat, Mar 6, 2010 at 7:32 AM, Phil Steitz wrote: > This is a separate issue, as you point out. I am +1 on deprecating > the setters so these all become immutable in 3.0. > -- Ted Dunning, CTO DeepDyve --000e0cd291a65f1cdd048125e8da--