Class PiRangeFieldMatch


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

      • PiRangeFieldMatch

        public PiRangeFieldMatch​(PiMatchFieldId fieldId,
                                 ImmutableByteSequence lowValue,
                                 ImmutableByteSequence highValue)
        Creates a new range field match for the given low and high value.
        Parameters:
        fieldId - field identifier
        lowValue - low value
        highValue - high value
    • Method Detail

      • lowValue

        public ImmutableByteSequence lowValue()
        Returns the low value of this range field match.
        Returns:
        low value
      • highValue

        public ImmutableByteSequence highValue()
        Returns the high value of this range field match.
        Returns:
        high value
      • 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