|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.javatools.parser.java.v2.util.filter.AndFilter
public class AndFilter
An AndFilter is a SourceFilter that accepts an element if all of the input filters accept the element.
Constructor Summary | |
---|---|
AndFilter(JavaFilter[] filters) |
|
AndFilter(JavaFilter one, JavaFilter two) Convenience constructor that creates an AndFilter from two other filters. |
Method Summary | |
---|---|
boolean |
accepts(JavaElement element) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AndFilter(JavaFilter[] filters)
filters
- Must have at least length of at least one.java.lang.IllegalArgumentException
- if the input is null or if the input is a 0-length array.public AndFilter(JavaFilter one, JavaFilter two)
one
- Require non-null.two
- Require non-null.Method Detail |
---|
public boolean accepts(JavaElement element)
accepts
in interface JavaFilter
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |