colinlin1982 / maashaack

Automatically exported from code.google.com/p/maashaack
0 stars 0 forks source link

system.comparators.StringComparator #71

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All objects to compare with a StringComparator use the toString() method to 
be compare :

{{{
public function compare(o1:*, o2:*, options:* = null ):int
{
    o1 = o1.toString() ;
    o2 = o2.toString() ;

}}}

See in the future if i use an ArgumentError when the two objects type isn't 
String.

Original issue reported on code.google.com by ekamel...@gmail.com on 20 Nov 2008 at 10:49

GoogleCodeExporter commented 9 years ago

Original comment by ekamel...@gmail.com on 20 Nov 2008 at 10:49