code: 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;
      }
docs: Read segment lines recursively.
  
  @param container
  @return