operate.java 850 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.example.xiaoshiweixinback.business.utils.parseQueryToTree;
  2. public class operate extends Symbol {
  3. /// <summary>
  4. /// 优先级
  5. /// </summary>
  6. int priorityVale;
  7. public void setpriorityVale(int v){
  8. this.priorityVale = v;
  9. }
  10. public int getpriorityVale(){
  11. return this.priorityVale;
  12. }
  13. /// <summary>
  14. /// 操作符元数
  15. /// 1表示一元操作符 NOT
  16. /// 2表示二元操作符 AND、OR、>、<、= 、>=、<=、like等
  17. /// </summary>
  18. int operateValue;
  19. public void setoperateValue(int v){
  20. this.operateValue = v;
  21. }
  22. public int getoperateValue(){
  23. return this. operateValue;
  24. }
  25. enuType type;
  26. public void setenyType(enuType type){
  27. this.type = type;
  28. }
  29. public enuType gettype(){
  30. return this.type;
  31. }
  32. }