hoplugins.commons.utils
Class MathUtil

java.lang.Object
  extended byhoplugins.commons.utils.MathUtil

public final class MathUtil
extends java.lang.Object

Math Utility Class

Author:
Massimiliano Amato

Method Summary
static int random(int number)
          Method to generate a random integer, from 0 to number-1
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

random

public static int random(int number)
Method to generate a random integer, from 0 to number-1

Parameters:
number - Multiplier for randomizer.
Returns:
random integer number


Copyright © 2005 Hattrick Organizer Plugins Project. All Rights Reserved.