Class Modulo

  • All Implemented Interfaces:
    IFunction

    public class Modulo
    extends java.lang.Object
    implements IFunction
    Calculate the modulo between two numbers.
    • Constructor Summary

      Constructors 
      Constructor Description
      Modulo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)
      Test for equality.
      AttributeSet getRelevantAttributes()
      Get the set of relevant attribute types.
      java.lang.Class getReturnType()
      Get the return type of this function.
      java.lang.Object invoke​(java.lang.Object[] paramvalues, IOAVState state)
      Invoke a function and return a value (optional).
      java.lang.String toString()
      Get the string representation.
      • Methods inherited from class java.lang.Object

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

      • Modulo

        public Modulo()
    • Method Detail

      • invoke

        public java.lang.Object invoke​(java.lang.Object[] paramvalues,
                                       IOAVState state)
        Invoke a function and return a value (optional).
        Specified by:
        invoke in interface IFunction
        Parameters:
        paramvalues - The parameter values.
        state - The state.
        Returns:
        The function value.
      • getReturnType

        public java.lang.Class getReturnType()
        Get the return type of this function.
        Specified by:
        getReturnType in interface IFunction
      • getRelevantAttributes

        public AttributeSet getRelevantAttributes()
        Get the set of relevant attribute types.
        Specified by:
        getRelevantAttributes in interface IFunction
        Returns:
        The relevant attribute types.
      • toString

        public java.lang.String toString()
        Get the string representation.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.
      • equals

        public boolean equals​(java.lang.Object obj)
        Test for equality.
        Overrides:
        equals in class java.lang.Object