Class SectionObjectList.SectionObjectListBuilder<T>
java.lang.Object
com.mrivanplays.annotationconfig.yaml.SectionObjectList.SectionObjectListBuilder<T>
- Type Parameters:
T
- object type
- Enclosing class:
- SectionObjectList<T>
Represents a builder of
SectionObjectList
- Since:
- v2.1.1
- Author:
- MrIvanPlays
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a newSectionObjectList
from the given parameters.defaultValue
(String key, T value) Specify a default value held by the createdSectionObjectList
-
Method Details
-
defaultValue
Specify a default value held by the createdSectionObjectList
- Parameters:
key
- default value keyvalue
- default value value- Returns:
- this instance for chaining
-
build
Builds a newSectionObjectList
from the given parameters.- Returns:
- new section object list
-