@ DSComment ( "Private Method" ) @ DSBan ( DSCat . PRIVATE_METHOD ) @ DSGenerator ( tool_name = "Doppelganger" , tool_version = "2.0" , generated_on = "2013-12-30 12:57:24.266 -0500" , hash_original_method = "542A19C49303D6524BE63DEB812200B5" , hash_generated_method = "433131C2E635F21E7867A70992F1749C" ) private ComparableTimSort ( Object [ ] a ) { this . a = a ; int len = a . length ; @ SuppressWarnings ( { "unchecked" , "UnnecessaryLocalVariable" } ) Object [ ] newArray = new Object [ len < 2 * INITIAL_TMP_STORAGE_LENGTH ? len > > > 1 : INITIAL_TMP_STORAGE_LENGTH ] ; tmp = newArray ; int stackLen = ( len < 120 ? 5 : len < 1542 ? 10 : len < 119151 ? 19 : 40 ) ; runBase = new int [ stackLen ] ; runLen = new int [ stackLen ] ; }
Creates a TimSort instance to maintain the state of an ongoing sort .