|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensorbase.uripattern.AndOperator
class AndOperator
And logic operator for two patterns.
Field Summary |
---|
Fields inherited from interface org.hackystat.sensorbase.uripattern.Operator |
---|
AND, NOT, OR |
Constructor Summary | |
---|---|
AndOperator()
|
Method Summary | |
---|---|
int |
getArity()
Gets the arity of this operator. |
boolean |
matches(Pattern[] patterns,
java.lang.String filePath)
Perform operator operation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
AndOperator()
Method Detail |
---|
public int getArity()
getArity
in interface Operator
public boolean matches(Pattern[] patterns, java.lang.String filePath)
matches
in interface Operator
patterns
- The operand.filePath
- The file path to match.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |