Validation API for Complex and Multiple Validations

I designed a very simple validation API when I was learning about Builder Pattern. Now, I have improved the code and used it in a small project. The code is now-


  1. Generic
  2. Can return return objects
  3. Has support for compound validators
  4. Other improvements have been made; like readability and updating comments

Please find the code @

Here is a gist of the code, in order to make it sound less boring. Please have a look, and point out my mistakes and suggest improvements in the design.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: