Package jadex.commons

Interface IAsyncFilter<T>

    • Field Summary

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      jadex.commons.future.IFuture<java.lang.Boolean> filter​(T obj)
      Test if an object passes the filter.
    • Field Detail

      • ALWAYS

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

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

      • filter

        jadex.commons.future.IFuture<java.lang.Boolean> filter​(T obj)
        Test if an object passes the filter.
        Returns:
        True, if passes the filter.