Class SizeTerm

    • Constructor Detail

      • SizeTerm

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

      • match

        public boolean match​(Message msg)
        The match method.
        Specified by:
        match in class SearchTerm
        Parameters:
        msg - the size comparator is applied to this Message's size
        Returns:
        true if the size is equal, otherwise false