|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kohsuke.rngom.binary.Pattern
org.kohsuke.rngom.binary.BinaryPattern
public abstract class BinaryPattern
Field Summary | |
---|---|
protected Pattern |
p1
|
protected Pattern |
p2
|
Method Summary | |
---|---|
void |
fillChildren(java.util.Collection col)
Adds all the children of this pattern to the given collection. |
Pattern[] |
getChildren()
Same as fillChildren(Collection) but returns an array. |
Pattern |
getOperand1()
|
Pattern |
getOperand2()
|
Methods inherited from class org.kohsuke.rngom.binary.Pattern |
---|
accept, apply, isNullable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Pattern p1
protected final Pattern p2
Method Detail |
---|
public final Pattern getOperand1()
public final Pattern getOperand2()
public final void fillChildren(java.util.Collection col)
For example, if this pattern is (A|B|C), it adds A, B, and C to the collection, even though internally it's represented as (A|(B|C)).
public final Pattern[] getChildren()
fillChildren(Collection)
but returns an array.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |