Class PiExactFieldMatch


  • @Beta
    public final class PiExactFieldMatch
    extends PiFieldMatch
    Instance of an exact field match in a protocol-independent pipeline.
    • Constructor Detail

      • PiExactFieldMatch

        public PiExactFieldMatch​(PiMatchFieldId fieldId,
                                 ImmutableByteSequence value)
        Creates an exact field match.
        Parameters:
        fieldId - field identifier
        value - value
    • Method Detail

      • value

        public ImmutableByteSequence value()
        Returns the byte sequence value to be matched.
        Returns:
        an immutable byte sequence
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object