/QingTingFanBianYi/src/com/alibaba/fastjson/asm/Item.java

https://gitlab.com/qt-prometheus/qt-prometheus · Java · 107 lines · 96 code · 7 blank · 4 comment · 11 complexity · b3124511ea95945825b319ca981e2541 MD5 · raw file

  1. package com.alibaba.fastjson.asm;
  2. final class Item
  3. {
  4. int hashCode;
  5. int index;
  6. int intVal;
  7. long longVal;
  8. Item next;
  9. String strVal1;
  10. String strVal2;
  11. String strVal3;
  12. int type;
  13. Item()
  14. {
  15. }
  16. Item(int paramInt, Item paramItem)
  17. {
  18. this.index = paramInt;
  19. this.type = paramItem.type;
  20. this.intVal = paramItem.intVal;
  21. this.longVal = paramItem.longVal;
  22. this.strVal1 = paramItem.strVal1;
  23. this.strVal2 = paramItem.strVal2;
  24. this.strVal3 = paramItem.strVal3;
  25. this.hashCode = paramItem.hashCode;
  26. }
  27. boolean isEqualTo(Item paramItem)
  28. {
  29. switch (this.type)
  30. {
  31. case 2:
  32. case 9:
  33. case 10:
  34. case 11:
  35. case 14:
  36. default:
  37. if ((!paramItem.strVal1.equals(this.strVal1)) || (!paramItem.strVal2.equals(this.strVal2)) || (!paramItem.strVal3.equals(this.strVal3)))
  38. break;
  39. case 1:
  40. case 7:
  41. case 8:
  42. case 13:
  43. case 5:
  44. case 6:
  45. case 15:
  46. case 3:
  47. case 4:
  48. case 12:
  49. do
  50. {
  51. do
  52. {
  53. do
  54. {
  55. return true;
  56. return paramItem.strVal1.equals(this.strVal1);
  57. }
  58. while (paramItem.longVal == this.longVal);
  59. return false;
  60. }
  61. while (paramItem.intVal == this.intVal);
  62. return false;
  63. }
  64. while ((paramItem.strVal1.equals(this.strVal1)) && (paramItem.strVal2.equals(this.strVal2)));
  65. return false;
  66. }
  67. return false;
  68. }
  69. void set(int paramInt)
  70. {
  71. this.type = 3;
  72. this.intVal = paramInt;
  73. this.hashCode = (0x7FFFFFFF & this.type + paramInt);
  74. }
  75. void set(int paramInt, String paramString1, String paramString2, String paramString3)
  76. {
  77. this.type = paramInt;
  78. this.strVal1 = paramString1;
  79. this.strVal2 = paramString2;
  80. this.strVal3 = paramString3;
  81. switch (paramInt)
  82. {
  83. default:
  84. this.hashCode = (paramString1.hashCode() * paramString2.hashCode() * paramString3.hashCode() + paramInt & 0x7FFFFFFF);
  85. return;
  86. case 1:
  87. case 7:
  88. case 8:
  89. case 13:
  90. this.hashCode = (paramString1.hashCode() + paramInt & 0x7FFFFFFF);
  91. return;
  92. case 12:
  93. }
  94. this.hashCode = (paramString1.hashCode() * paramString2.hashCode() + paramInt & 0x7FFFFFFF);
  95. }
  96. }
  97. /* Location: C:\Users\User\dex2jar-2.0\dex\qting\classes-dex2jar.jar
  98. * Qualified Name: com.alibaba.fastjson.asm.Item
  99. * JD-Core Version: 0.6.2
  100. */