Closed GoogleCodeExporter closed 9 years ago
Finir les tests de la classe Pour le moment j'ai {{{ import vegas.events.Delegate ; import vegas.util.comparators.NumericComparator ; var ar:Array = [ "a0" , "a1", "a2", "a10" , "a11" , "b1" , "b2" , "b0" , "b01", "b001", "c0" ] ; var c:NumericComparator = new NumericComparator.getIgnoreCaseInstance() ; ar.sort( Delegate.create( c , c.compare ) , Array.CASEINSENSITIVE ) ; trace( ar ) ; // a0,a1,a2,a10,a11,b1,b2,b0,b01,b001,c0 ar.sort( Delegate.create( c , c.compare ) , Array.CASEINSENSITIVE | Array.DESCENDING ) ; trace(ar ) ; // c0,b001,b01,b0,b2,b1,a11,a10,a2,a1,a0 }}}
Original issue reported on code.google.com by ekamel...@gmail.com on 19 Sep 2007 at 10:21
ekamel...@gmail.com
Original comment by ekamel...@gmail.com on 1 Nov 2007 at 8:31
Original comment by ekamel...@gmail.com on 18 Dec 2008 at 10:26
Original issue reported on code.google.com by
ekamel...@gmail.com
on 19 Sep 2007 at 10:21