> > 2) All comparisions are string comparisons..  So when I
> > compare Bigdecimals
> > 2, 12, and 22, the orders is 12, 2, 22!  Do I need to hand in
> > another class
> > to cast the objects to?

BeanComparator should have a Comparator property.

ie) I'd do:

Comparator comp = new ComparableComparator();
comp = new BeanComparator(comp);

or setComparator(..);

It's the reason why ComparableComparator exists :) So I can easily pass it
into my BeanComparator.

Hen


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to