Class And

    • Constructor Detail

      • And

        public And​(Container.Filter... filters)
        Parameters:
        filters - filters of which the And filter will be composed
    • Method Detail

      • passesFilter

        public boolean passesFilter​(Object itemId,
                                    Item item)
                             throws UnsupportedFilterException
        Description copied from interface: Container.Filter
        Check if an item passes the filter (in-memory filtering).
        Parameters:
        itemId - identifier of the item being filtered; may be null when the item is being added to the container
        item - the item being filtered
        Returns:
        true if the item is accepted by this filter
        Throws:
        UnsupportedFilterException