KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > dynamic > AnyConstraintMatcher


1 /*
2  * Created on 20-Apr-03
3  */

4 package com.mockobjects.dynamic;
5
6
7 public class AnyConstraintMatcher implements ConstraintMatcher {
8
9     public boolean matches(Object JavaDoc[] args) {
10         return true;
11     }
12
13     public Object JavaDoc[] getConstraints() {
14         return new String JavaDoc[] {"ANY"};
15     }
16
17 }
18
Popular Tags