i just realized that ValidatorList.add() does this:

       void add(final IValidator validator)
       {
           ValidatorList current = this;

           while (current.right instanceof ValidatorList)
           {
               current = (ValidatorList)current.right;
           }

           current.right = new ValidatorList(current.right, validator);
       }

which means validators are added to the end. this seems kindof stupid. i should have done:

   this.right = new ValidatorList(this.right, validator);

then reverse the recursion.  right?

or maybe make it singly linked and recurse to the end and go backwards... duh... there shouldn't be /that/ many validators... hmmm... singly linked with awkward
recursion to traverse backwards actually seems like a good tradeoff... ;-)

Phil Kulak wrote:

Anyway, I gotta bail for a bit. Thanks for taking all this time to talk with me!

-Phil


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to