Hello,

Can someone show me how to pass a customized "equal_func" function to the
arraylist?
All samples I found are working with strings , but I need an custom
comparator.

ArrayList<string> list = new ArrayList<string> ( str_equal );
ArrayList<MyClass> list = new ArrayList<MyClass> ( ??? );

Thanks,

Lucas
_______________________________________________
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to