Class NoVariableFilter

  • All Implemented Interfaces:
    IVariableFilter

    public class NoVariableFilter
    extends java.lang.Object
    implements IVariableFilter
    A filter that enables all variables.
    Author:
    Holger Eichelberger
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private NoVariableFilter()
      Prevents external creation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEnabled​(IDecisionVariable variable)
      Checks the given variable.
      • Methods inherited from class java.lang.Object

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

      • NoVariableFilter

        private NoVariableFilter()
        Prevents external creation.
    • Method Detail

      • isEnabled

        public boolean isEnabled​(IDecisionVariable variable)
        Description copied from interface: IVariableFilter
        Checks the given variable.
        Specified by:
        isEnabled in interface IVariableFilter
        Parameters:
        variable - the variable to be checked
        Returns:
        true if the variable is in (enabled), false if it is out