@Beta
public final class PiMatchKey
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PiMatchKey.Builder
Builder of match keys.
|
Modifier and Type | Field and Description |
---|---|
static PiMatchKey |
EMPTY |
Modifier and Type | Method and Description |
---|---|
static PiMatchKey.Builder |
builder()
Returns a new builder of match keys.
|
boolean |
equals(java.lang.Object o) |
java.util.Optional<PiFieldMatch> |
fieldMatch(PiMatchFieldId fieldId)
If present, returns the field match associated with the given header field identifier.
|
java.util.Collection<PiFieldMatch> |
fieldMatches()
Returns the collection of field matches of this match key.
|
int |
hashCode() |
java.lang.String |
toString() |
public static final PiMatchKey EMPTY
public java.util.Collection<PiFieldMatch> fieldMatches()
public java.util.Optional<PiFieldMatch> fieldMatch(PiMatchFieldId fieldId)
fieldId
- field identifierpublic 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
public static PiMatchKey.Builder builder()