SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.functions
Class Random

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.functions.BaseFunction
      extended by org.smartfrog.sfcore.languages.sf.functions.Random
All Implemented Interfaces:
Function

public class Random
extends BaseFunction

Defines the Random function that returns a random number for each invocation.


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
context, name
 
Constructor Summary
Random()
           
 
Method Summary
protected  java.lang.Object doFunction()
          Returns the random number.
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
doit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Random

public Random()
Method Detail

doFunction

protected java.lang.Object doFunction()
Returns the random number.

Specified by:
doFunction in class BaseFunction
Returns:
Random number object.

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP