com.google.clearsilver.jsilver.functions.numeric
Class MinFunction

java.lang.Object
  extended by com.google.clearsilver.jsilver.functions.NonEscapingFunction
      extended by com.google.clearsilver.jsilver.functions.numeric.MinFunction
All Implemented Interfaces:
Function

public class MinFunction
extends NonEscapingFunction

Returns the smaller of two numeric expressions.


Constructor Summary
MinFunction()
           
 
Method Summary
 Value execute(Value... args)
          Execute a function.
 
Methods inherited from class com.google.clearsilver.jsilver.functions.NonEscapingFunction
isEscapingFunction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MinFunction

public MinFunction()
Method Detail

execute

public Value execute(Value... args)
Description copied from interface: Function
Execute a function. Should always return a result.

Parameters:
args - Two numeric values
Returns:
Smallest of these


Copyright © 2010-2012 Google. All Rights Reserved.