List < Mapping > toArray ( ) { if ( ! this . _sorted ) { Collections . sort ( this . _array , Util :: compareByGeneratedPositionsInflated ) ; this . _sorted = true ; } return this . _array ; }
Returns the flat sorted array of mappings . The mappings are sorted by generated position .