Class SimpleIndexFilter<E>

    • Constructor Detail

      • SimpleIndexFilter

        public SimpleIndexFilter()
      • SimpleIndexFilter

        public SimpleIndexFilter​(MutableFilter<E> inputFilter)
    • Method Detail

      • isActive

        public boolean isActive()
        Description copied from interface: Filter
        Indicates whether at least one element is currently filtered.
        Specified by:
        isActive in interface Filter<E>
        Overrides:
        isActive in class AbstractIndexFilter<E>
        Returns:
        true if at least one element is filtered, false otherwise.
      • isFiltered

        public boolean isFiltered​(E element)
        Description copied from interface: Filter
        Indicates whether a given element is filtered or not.
        Specified by:
        isFiltered in interface Filter<E>
        Overrides:
        isFiltered in class AbstractIndexFilter<E>
        Parameters:
        element - the element to be tested
        Returns:
        true if the element is filtered, false otherwise
      • isFiltered

        public boolean isFiltered​(E element,
                                  java.lang.Object locksmith)
        Description copied from interface: Filter
        Indicates whether a given element is filtered or not by the given locksmith.
        Parameters:
        element - the element to be tested
        locksmith - the object used to filter the element
        Returns:
        true if the element is filtered, false otherwise
      • setFiltered

        public void setFiltered​(E element,
                                boolean filtered,
                                java.lang.Object locksmith)
      • setFiltered

        public void setFiltered​(java.lang.Iterable<E> elements,
                                boolean filtered,
                                java.lang.Object locksmith)
      • setFiltered

        public void setFiltered​(java.lang.Iterable<E> filtered,
                                java.lang.Iterable<E> unfiltered,
                                java.lang.Object locksmith)
      • clearFilter

        public void clearFilter()
      • clearFilter

        public void clearFilter​(java.lang.Object locksmith)