|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.me.parabola.mkgmap.osmstyle.eval.AbstractOp
uk.me.parabola.mkgmap.osmstyle.eval.CloseOp
public class CloseOp
A closing parenthesis. It has a lower priority than anything apart from its matching opening parenthesis.
Field Summary |
---|
Fields inherited from class uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp |
---|
first |
Fields inherited from interface uk.me.parabola.mkgmap.osmstyle.eval.Op |
---|
AND, CLOSE_PAREN, EQUALS, EXISTS, GT, GTE, LT, LTE, NOT, NOT_EQUALS, NOT_EXISTS, OPEN_PAREN, OR, REGEX, VALUE |
Constructor Summary | |
---|---|
CloseOp()
|
Method Summary | |
---|---|
boolean |
eval(Element el)
Evaluate the expression. |
boolean |
hasHigherPriority(Op other)
Does this operation have a higher priority that the other one? |
int |
priority()
|
Methods inherited from class uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp |
---|
createOp, getFirst, getType, isType, setFirst, value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloseOp()
Method Detail |
---|
public boolean eval(Element el)
Op
el
- The OSM element to be tested.
public int priority()
public boolean hasHigherPriority(Op other)
AbstractOp
hasHigherPriority
in interface Op
hasHigherPriority
in class AbstractOp
other
- The other operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |