Class CompositeFilter

  • All Implemented Interfaces:
    java.io.Serializable, IFilter

    public class CompositeFilter
    extends java.lang.Object
    implements IFilter
    To sum two IFilter.

    Used in Calendar to nest filters.

    Since:
    7.1.5
    Author:
    Chungyen Tsai
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object filter​(java.lang.Object o)  
      static java.lang.Object[] sumArrays​(java.lang.Object[] arr1, java.lang.Object[] arr2)  
      • Methods inherited from class java.lang.Object

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

      • CompositeFilter

        public CompositeFilter​(IFilter oldFilter,
                               IFilter newFilter)
    • Method Detail

      • filter

        public java.lang.Object filter​(java.lang.Object o)
                                throws FilterException
        Specified by:
        filter in interface IFilter
        Parameters:
        o - Argument to filter. A object.
        Returns:
        Argument filtered. Can be a object array.
        Throws:
        FilterException - Any problem.
      • sumArrays

        public static java.lang.Object[] sumArrays​(java.lang.Object[] arr1,
                                                   java.lang.Object[] arr2)