| Modifier and Type | Field and Description |
|---|---|
static PObject |
negativeObject |
static PObject |
positiveObject |
| Constructor and Description |
|---|
RegularExpressionCondition(java.lang.String pattern) |
| Modifier and Type | Method and Description |
|---|---|
Condition |
deepClone()
Deep clone this condition
|
int |
fetch(Membrane membrane,
int tryTimes)
fetch objects from membrane
|
int |
satisfy(Membrane membrane)
check if condition satisfy the situation in membrane.
|
java.lang.String |
toString() |
void |
withdrawFetch(Membrane membrane,
int times)
If some conditions in one rule cannot fetch the objects then the conditions
which have fetched the objects they need withdraw the objects they have
fetched.
|
public static PObject positiveObject
public static PObject negativeObject
public RegularExpressionCondition(java.lang.String pattern)
public int satisfy(Membrane membrane)
Conditionpublic int fetch(Membrane membrane, int tryTimes)
Conditionpublic void withdrawFetch(Membrane membrane, int times)
ConditionwithdrawFetch in interface Conditionmembrane - the membrane current condition withdraw objects totimes - withdraw fetch timespublic Condition deepClone()
Conditionpublic java.lang.String toString()
toString in class java.lang.Object