G - The Enum type whose entries identify an
InputGroup.P - The Enum type implementing InputPart for the
group's parts.public static final class InputAnalyzer.InputAnalyzerBuilder<G extends Enum<G>,P extends Enum<P> & InputPart> extends Object
InputAnalyzers.| Modifier and Type | Method and Description |
|---|---|
InputAnalyzer.InputAnalyzerBuilder<G,P> |
andGroup(G identifier,
InputGroup<P> group)
Adds the given
InputGroup identified by the given identifier to the
InputAnalyzer to build. |
InputAnalyzer<G,P> |
build()
Builds a new
InputAnalyzer out of the InputGroups currently
contained by this InputAnalyzer.InputAnalyzerBuilder. |
public InputAnalyzer.InputAnalyzerBuilder<G,P> andGroup(G identifier, InputGroup<P> group)
InputGroup identified by the given identifier to the
InputAnalyzer to build.identifier - The identifier the given group will be identified by the
InputAnalyzer; might not be null.group - The group to add to the InputAnalyzer; might not be
null.public InputAnalyzer<G,P> build()
InputAnalyzer out of the InputGroups currently
contained by this InputAnalyzer.InputAnalyzerBuilder.InputAnalyzer; never nullCopyright © 2020. All rights reserved.