Hi Jan,
yes ordinal() does the job, the problem is that if it's not explicit, people
have no way of knowing whether this kind of use was anticipated by framework
designers, and therefore whether code based on it will become broken in the
future.
> Your suggestion to have getParameter accept a name as input is
> unfortunately not going to be implemented easily, because, Track being
> an interface, this would mean that all implementations of Track would
> also have to add this method.
I realize that, but maybe now is a good time to make changes, since Track is
being modified anyway. That was the reason I mentioned those minor issues.
But it's TrackerHit interface that has become a real show-stopper.
Regards,
- Dima.
|