Re: How to print out string at random interval



On 4/8/2005 at 8:20:55 AM, George George via JavaKB.com wrote:

> how to generate random length interval and make the average length
> of all generated hundreds of intervals be 1 minute.

Are you saying that you need the average to be guaranteed to be *exactly*
1 minute? If that is the issue, you can pre-generate all of the interval
values, compute their average, and adjust them as needed so that they fit
your criteria.

--
Regards,

John McGrath
.



Relevant Pages

  • Re: Explorer has encountered a problem
    ... Explorer is saying the error is? ... Regards, ... Philip Hristov. ... Prev by Date: ...
    (microsoft.public.windowsxp.general)
  • Re: Fastcode Template B&Vs
    ... > (I'm definitely not saying I believe that's it, I think I know you better ... Regards ... Dennis ... Prev by Date: ...
    (borland.public.delphi.language.basm)
  • Re: Replace row in JTable
    ... Take a look at DefaultTableModel. ... Regards, ... John McGrath ... Prev by Date: ...
    (comp.lang.java.gui)
  • Re: events and threads
    ... Multiposting is generally frowned on, so please do not do it. ... Regards, ... John McGrath ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Ad Flyins and Popups
    ... I get a small icon show up saying that a popup was allowed ... Regards ... Prev by Date: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)