Span . Iterator spanIterator ( ) { if ( ! sorted ) { Collections . sort ( rows , new RowSeq . RowSeqComparator ( ) ) ; sorted = true ; } return new Span . Iterator ( ) ; }
Package private iterator method to access it as a Span . Iterator .