Class SizeTerm

    • Constructor Detail

      • SizeTerm

        public SizeTerm​(int comparison,
                        int size)
        Constructor.
        Parameters:
        comparison - the comparison operator
        size - the size
    • Method Detail

      • match

        public boolean match​(Message msg)
        Returns true only if the size of the given message matches the specified size using the specified operator.
        Specified by:
        match in class SearchTerm