< prev index next >
core/JemmyCore/src/org/jemmy/lookup/CompoundLookup.java
Print this page
*** 24,65 ****
*/
package org.jemmy.lookup;
/**
- *
- * @param <CONTROL>
* @author shura
*/
public class CompoundLookup<CONTROL> implements LookupCriteria<CONTROL>{
LookupCriteria<CONTROL>[] lookups;
- /**
- *
- * @param subLookup
- */
public CompoundLookup(LookupCriteria<CONTROL>... subLookup) {
this.lookups = subLookup;
}
- /**
- *
- * @param arg0
- * @return
- */
public boolean check(CONTROL arg0) {
for(LookupCriteria<CONTROL> lu : lookups) {
if(!lu.check(arg0)) {
return false;
}
}
return true;
}
- /*
- public Class<CONTROL> type() {
- return lookups[0].type();
- }
- */
-
}
--- 24,48 ----
< prev index next >