@Beta public final class PiExactFieldMatch extends PiFieldMatch
Constructor and Description |
---|
PiExactFieldMatch(PiMatchFieldId fieldId,
ImmutableByteSequence value)
Creates an exact field match.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
PiMatchType |
type()
Returns the type of match to be performed.
|
ImmutableByteSequence |
value()
Returns the byte sequence value to be matched.
|
fieldId
public PiExactFieldMatch(PiMatchFieldId fieldId, ImmutableByteSequence value)
fieldId
- field identifiervalue
- valuepublic PiMatchType type()
PiFieldMatch
type
in class PiFieldMatch
public ImmutableByteSequence value()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object