railo.runtime.functions.math
Class RandRange

java.lang.Object
  extended by railo.runtime.functions.math.RandRange
All Implemented Interfaces:
Serializable, Function

public final class RandRange
extends Object
implements Function

See Also:
Serialized Form

Constructor Summary
RandRange()
           
 
Method Summary
static double call(PageContext pc, double number1, double number2)
           
static double call(PageContext pc, double number1, double number2, String algo)
           
static int invoke(int min, int max)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandRange

public RandRange()
Method Detail

call

public static double call(PageContext pc,
                          double number1,
                          double number2)
                   throws ExpressionException
Throws:
ExpressionException

call

public static double call(PageContext pc,
                          double number1,
                          double number2,
                          String algo)
                   throws ExpressionException
Throws:
ExpressionException

invoke

public static int invoke(int min,
                         int max)
                  throws ExpressionException
Throws:
ExpressionException


Copyright © 2012 Railo