Class FilterSwitch.MyFilterClass

    • Field Summary

      Modifier and Type Field Description
      protected Replacer rep  
    • Constructor Summary

      Constructor Description
      MyFilterClass​(java.lang.Object predicate)
      Creates a new MyFilterClass object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean acceptUnit​(Unit u)
      Returns true iff the predicate replacer returns true for the unit.
      • Methods inherited from class java.lang.Object

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

      • MyFilterClass

        public MyFilterClass​(java.lang.Object predicate)
        Creates a new MyFilterClass object.
        predicate - A replacer used for deciding acceptance of units.