Class Expr

  • All Implemented Interfaces:
    java.util.function.LongToIntFunction

    public class Expr
    extends java.lang.Object
    implements java.util.function.LongToIntFunction
    Allow for the use of arbitrary expressions according to the [MVEL](http://mvel.documentnode.com/) expression language. Variables that have been set by a Save function are available to be used in this function. The variable name **cycle** is reserved, and is always equal to the current input value.
    • Constructor Summary

      Constructors 
      Constructor Description
      Expr​(java.lang.String expr)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int applyAsInt​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Expr

        public Expr​(java.lang.String expr)
    • Method Detail

      • applyAsInt

        public int applyAsInt​(long value)
        Specified by:
        applyAsInt in interface java.util.function.LongToIntFunction