SmartFrog 3.10.000

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

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

public class Next
extends BaseFunction

Defines the Next function that returns a monotonically increasing value, guaranteed never to return the same number twice within a single description.


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.functions.BaseFunction
context, name
 
Constructor Summary
Next()
           
 
Method Summary
protected  java.lang.Object doFunction()
          Returns the next integer in the sequence.
 
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

Next

public Next()
Method Detail

doFunction

protected java.lang.Object doFunction()
Returns the next integer in the sequence.

Specified by:
doFunction in class BaseFunction
Returns:
next integer object

SmartFrog CORE 3.10.000

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