Interface ILcdFilter<T>

All Superinterfaces:
Predicate<T>, Serializable
All Known Subinterfaces:
ILcdAIXMModelFilter, ILcdARINCModelFilter, ILcdDAFIFModelFilter, ILcdDynamicFilter<T>
All Known Implementing Classes:
ALcdDGNLevelFilter, ALcdDynamicFilter, ALcyCompositeFilter, TLcdDAFIFModelAndFilter, TLcdDefaultObjectInModelFilter, TLcdElevationModelFilter, TLcyCompositeAndFilter, TLcyModelObjectFilter

public interface ILcdFilter<T> extends Serializable, Predicate<T>
This interface defines a filter for objects of the type T.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(T aObject)
    Tests if a given object passes the filter or not.
    default boolean
    test(T aObject)

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Method Details

    • accept

      boolean accept(T aObject)
      Tests if a given object passes the filter or not. The actual test condition is specified by the implementation of this interface.
      Parameters:
      aObject - the object to be tested by the filter.
      Returns:
      true if the object passes the filter, false otherwise.
    • test

      default boolean test(T aObject)
      Specified by:
      test in interface Predicate<T>
      Since:
      2017.0