orc.lib.util
Class Random

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.sites.Site
          extended by orc.runtime.sites.PartialSite
              extended by orc.lib.util.Random
All Implemented Interfaces:
Callable

public class Random
extends PartialSite


Field Summary
 
Fields inherited from class orc.runtime.values.Value
futureNotReady
 
Constructor Summary
Random()
           
 
Method Summary
 java.lang.Object evaluate(Args args)
           
 Type type()
           
 
Methods inherited from class orc.runtime.sites.PartialSite
callSite
 
Methods inherited from class orc.runtime.sites.Site
accept, createCall
 
Methods inherited from class orc.runtime.values.Value
forceArg, forceCall, signal, write
 
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

evaluate

public java.lang.Object evaluate(Args args)
                          throws TokenException
Specified by:
evaluate in class PartialSite
Throws:
TokenException

type

public Type type()
Overrides:
type in class Site