Class SectionObjectList<T>

java.lang.Object
com.mrivanplays.annotationconfig.yaml.SectionObjectList<T>
All Implemented Interfaces:
Iterable<Map.Entry<String,T>>

public final class SectionObjectList<T> extends Object implements Iterable<Map.Entry<String,T>>
Represents a section list. A YAML example:

 foo:
   bar:
     baz: aa
     lorem: ipsum
     dolor: sit
     amet: lorem
   ipsum:
     baz: bb
     lorem: dolor
     dolor: lorem
     amet: ipsum
 

How to use: you have to register a SectionObjectListSerializer with the help of a TypeToken in order for this list to properly (de)serialize.

Since:
v2.1.1
Author:
MrIvanPlays