@Beta public final class PiLpmFieldMatch extends PiFieldMatch
| Constructor and Description |
|---|
PiLpmFieldMatch(PiMatchFieldId fieldId,
org.onlab.util.ImmutableByteSequence value,
int prefixLength)
Creates a new LPM field match.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
int |
prefixLength()
Returns the prefix length to be matched.
|
String |
toString() |
PiMatchType |
type()
Returns the type of match to be performed.
|
org.onlab.util.ImmutableByteSequence |
value()
Returns the value matched by this field.
|
fieldIdpublic PiLpmFieldMatch(PiMatchFieldId fieldId, org.onlab.util.ImmutableByteSequence value, int prefixLength)
fieldId - field identifiervalue - valueprefixLength - prefix lengthpublic PiMatchType type()
PiFieldMatchtype in class PiFieldMatchpublic org.onlab.util.ImmutableByteSequence value()
public int prefixLength()