public static final class PiMatchKey.Builder extends Object
Modifier and Type | Method and Description |
---|---|
PiMatchKey.Builder |
addFieldMatch(PiFieldMatch fieldMatch)
Adds one field match to this match key.
|
PiMatchKey.Builder |
addFieldMatches(Collection<PiFieldMatch> fieldMatches)
Adds many field matches to this match key.
|
PiMatchKey |
build()
Creates a new match key.
|
public PiMatchKey.Builder addFieldMatch(PiFieldMatch fieldMatch)
fieldMatch
- field matchpublic PiMatchKey.Builder addFieldMatches(Collection<PiFieldMatch> fieldMatches)
fieldMatches
- collection of field matchespublic PiMatchKey build()