@Beta public final class PiRangeFieldMatch extends PiFieldMatch
Constructor and Description |
---|
PiRangeFieldMatch(PiMatchFieldId fieldId,
ImmutableByteSequence lowValue,
ImmutableByteSequence highValue)
Creates a new range field match for the given low and high value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
ImmutableByteSequence |
highValue()
Returns the high value of this range field match.
|
ImmutableByteSequence |
lowValue()
Returns the low value of this range field match.
|
java.lang.String |
toString() |
PiMatchType |
type()
Returns the type of match to be performed.
|
fieldId
public PiRangeFieldMatch(PiMatchFieldId fieldId, ImmutableByteSequence lowValue, ImmutableByteSequence highValue)
fieldId
- field identifierlowValue
- low valuehighValue
- high valuepublic PiMatchType type()
PiFieldMatch
type
in class PiFieldMatch
public ImmutableByteSequence lowValue()
public ImmutableByteSequence highValue()
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