@Beta public final class PiMatchKey extends 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(Object o) |
Optional<PiFieldMatch> |
fieldMatch(PiMatchFieldId fieldId)
If present, returns the field match associated with the given header field identifier.
|
Collection<PiFieldMatch> |
fieldMatches()
Returns the collection of field matches of this match key.
|
int |
hashCode() |
String |
toString() |
public static final PiMatchKey EMPTY
public Collection<PiFieldMatch> fieldMatches()
public Optional<PiFieldMatch> fieldMatch(PiMatchFieldId fieldId)
fieldId
- field identifierpublic static PiMatchKey.Builder builder()