core/src/main/java/org/trimou/engine/parser/SegmentBases.java
private static List<List<SegmentBase>> readSegmentLines(
            ContainerSegmentBase container) {
        List<List<SegmentBase>> lines = new ArrayList<>();
        // Add the last line manually - there is no line separator to trigger
        // flush
        lines.add(readSegmentLines(lines, null, container));
        return lines;
    }
private static List<List<SegmentBase>> readSegmentLines(
            ContainerSegmentBase container) {
        List<List<SegmentBase>> lines = new ArrayList<>();
        // Add the last line manually - there is no line separator to trigger
        // flush
        lines.add(readSegmentLines(lines, null, container));
        return lines;
    }
private static List < List < SegmentBase > > readSegmentLines ( ContainerSegmentBase container ) { List < List < SegmentBase >> lines = new ArrayList <> ( ) ; // Add the last line manually - there is no line separator to trigger // flush lines . add ( readSegmentLines ( lines , null , container ) ) ; return lines ; }
Read segment lines recursively.

@param container
@return
Read segment lines recursively .