private TocEntry align(int docLevel, int level, T data, boolean doc)
    {
        TocEntry entry = null;
        List<TocEntry> entries = new ArrayList<TocEntry>();
        for (int i = 0; i <= level; ++i) {
            entry = new TocEntry(docLevel, i, data, doc, i == level);
            entries.add(entry);
        }
        fBuilder.peek().align(entries);

        return entry;
    }
private TocEntry align ( int docLevel , int level , T data , boolean doc ) { TocEntry entry = null ; List < TocEntry > entries = new ArrayList < TocEntry > ( ) ; for ( int i = 0 ; i <= level ; ++ i ) { entry = new TocEntry ( docLevel , i , data , doc , i == level ) ; entries . add ( entry ) ; } fBuilder . peek ( ) . align ( entries ) ; return entry ; }
@param docLevel
@param level
@param data
@param b
@return