From df1dbe48b99a5c86345a58d6da5727cb39547727 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 29 May 2008 20:30:46 +0000 Subject: new package documented. --- sources/utils/VSRandom.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'sources/utils/VSRandom.java') diff --git a/sources/utils/VSRandom.java b/sources/utils/VSRandom.java index 8881aeb..5a6391a 100644 --- a/sources/utils/VSRandom.java +++ b/sources/utils/VSRandom.java @@ -6,17 +6,19 @@ package utils; import java.util.Random; -// TODO: Auto-generated Javadoc /** - * The Class VSRandom. + * The Class VSRandom. Some customization of the standard Random class of Java. + * + * @author Paul C. Buetow */ public final class VSRandom extends Random { + /** The serial version uid */ private static final long serialVersionUID = 1L; /** - * Instantiates a new lang.process.removerandom. + * Instantiates a new VSrandom object. * - * @param seedAdd the seed add + * @param seedAdd the seed to add. */ public VSRandom(long seedAdd) { super(seedAdd*System.currentTimeMillis()+seedAdd); @@ -34,7 +36,7 @@ public final class VSRandom extends Random { * * @param mod the mod * - * @return the long + * @return the random long */ public long nextLong(long mod) { return Math.abs((super.nextLong() + System.currentTimeMillis()) % mod); -- cgit v1.2.3