Package jadex.commons

Interface IFilter<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static IFilter<java.lang.Object> ALWAYS
      A filter that always returns true.
      static IFilter<java.lang.Object> NEVER
      A filter that always returns false.
    • Field Detail

      • ALWAYS

        static final IFilter<java.lang.Object> ALWAYS
        A filter that always returns true.
      • NEVER

        static final IFilter<java.lang.Object> NEVER
        A filter that always returns false.
    • Method Detail

      • filter

        boolean filter​(T obj)
        Test if an object passes the filter.
        Returns:
        True, if passes the filter.