@ SuppressWarnings ( { "unchecked" , "rawtypes" } ) static final < R > Comparator < Cell < R > > comparator ( ) { return ( Comparator < Cell < R > > ) ( Comparator ) COMPARATOR ; }
Compare by row then column .