@Beta public final class PiTernaryFieldMatch extends PiFieldMatch
| Constructor and Description |
|---|
PiTernaryFieldMatch(PiHeaderFieldId fieldId,
ImmutableByteSequence value,
ImmutableByteSequence mask)
Creates a new ternary field match.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
ImmutableByteSequence |
mask()
Returns the mask used to match this field.
|
String |
toString() |
PiMatchType |
type()
Returns the type of match to be performed.
|
ImmutableByteSequence |
value()
Returns the value matched by this field.
|
fieldIdpublic PiTernaryFieldMatch(PiHeaderFieldId fieldId, ImmutableByteSequence value, ImmutableByteSequence mask)
fieldId - field identifiervalue - valuemask - maskpublic PiMatchType type()
PiFieldMatchtype in class PiFieldMatchpublic ImmutableByteSequence value()
public ImmutableByteSequence mask()