> I'm also planning on having the comparisons done using the Comparable
> interface, so the validator would work only on objects implementing
> Comparable (but that seems like it'd probably cover anything worth
> comparing).

define an additional attribute (comparator) which allows the user to
specify a comparator instance which implements java.util.Comparator if
the objects don´t implement Comparable

--
Mathias

Reply via email to