Class TLcdDAFIFModelAndFilter

java.lang.Object
com.luciad.format.dafif.util.TLcdDAFIFModelAndFilter
All Implemented Interfaces:
ILcdDAFIFModelFilter, ILcdFilter, Serializable, Predicate

public class TLcdDAFIFModelAndFilter extends Object implements ILcdDAFIFModelFilter
An ILcdDAFIFModelFilter implementation that performs a logical AND operation on two other ILcdDAFIFModelFilter instances.
Since:
9.0
See Also:
  • Constructor Details

    • TLcdDAFIFModelAndFilter

      public TLcdDAFIFModelAndFilter(ILcdDAFIFModelFilter aA, ILcdDAFIFModelFilter aB)
      Creates a new filter which is a logical AND of the two specified input filters.
      Parameters:
      aA - a DAFIF model filter
      aB - a DAFIF model filter
  • Method Details

    • setModelDescriptor

      public void setModelDescriptor(ILcdModelDescriptor aModelDescriptor)
      Set the model descriptor to be used by filters.
      Specified by:
      setModelDescriptor in interface ILcdDAFIFModelFilter
      Parameters:
      aModelDescriptor - the model descriptor of the model being filtered
    • accept

      public boolean accept(Object aObject)
      Test if the given object passes the filter
      Specified by:
      accept in interface ILcdFilter
      Parameters:
      aObject - an object to test
      Returns:
      true if the object passes the filter, false otherwise.