T
- type of the application model created by the parser.public static interface Config.SectionParser<T>
Instances must implement hashCode and equals such that model objects can
be cached by using the SectionParser
as a key of a HashMap.
As the SectionParser
itself is used as the key of the internal
HashMap applications should be careful to ensure the SectionParser key
does not retain unnecessary application state which may cause memory to
be held longer than expected.
Modifier and Type | Method and Description |
---|---|
T |
parse(Config cfg)
Create a model object from a configuration.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.