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,
                                 org.onlab.util.ImmutableByteSequence lowValue,
                                 org.onlab.util.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 org.onlab.util.ImmutableByteSequence lowValue()
        Returns the low value of this range field match.
        Returns:
        low value
      • highValue

        public org.onlab.util.ImmutableByteSequence highValue()
        Returns the high value of this range field match.
        Returns:
        high value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object