- Type Parameters:
T- type of the application model created by the parser.
- Enclosing class:
public static interface Config.SectionParser<T>Parses a section of the configuration into an application model object.
Instances must implement hashCode and equals such that model objects can be cached by using the
SectionParseras a key of a HashMap.
SectionParseritself 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.