Class Predicate.EQ

    • Field Detail

      • num

        final int num
    • Constructor Detail

      • EQ

        EQ​(int num)
    • Method Detail

      • apply

        public boolean apply​(Field<?> f)
        Description copied from interface: Predicate
        Returns true if the field is included.
        Specified by:
        apply in interface Predicate
      • apply

        public boolean apply​(Field<?> f,
                             java.lang.Object message)
        Description copied from interface: Predicate
        Returns true if the field is included.

        The predicate logic can be dynamic based on the contents of the message.

        Specified by:
        apply in interface Predicate